I just ran into a problem with my PerlFixupHandler/PerlCleanupHandler based 
session manager (discussed earlier). It seems there's no guarantee that the 
cleanup handler will fire before the browser receives the response from the 
content handler. There's a niche case where a redirect will get to the 
browser and back to Apache before the cleanup handler has a chance to write 
the session to the database. If the redirected request needs that session 
data, there's a small chance it won't be there yet.

Is there any way I can guarantee (short of hacking Apache::Registry) that my 
post-content code will run before the browser gets a response? From where I 
sit, the hack job looks like the best option right now.

-- 
Milo Hyson
CyberLife Labs, LLC

Reply via email to