good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
A quick grok of your code suggests that the problem is here :
Calling cookie->bake puts your cookie headers the response headers, but then you request a redirect, which is not a 200 response, and so the standard page headers do not get sent. Instead of using bake, you need to set your err_headers_out, which will get sent regardless of the response code. See here for a recipe : Sending Cookies in REDIRECT Response handlers In reply to Re: Apache2::Cookie troubles... sanity check needed on auth/sess handling
by clinton
|
|