[mod_python] getting cookies from the response

Istvan De surf-kid24 at freemail.hu
Fri Nov 17 04:09:29 EST 2006


Hi!

In my code, if I detect that a cookie is not set, I set it using
Cookie.add_cookie().

That is all well. However, if I read this cookie from the same request
at which it was added, it is not available. I guess this is because the
"cookie add" function puts the cookie into the reponse of the page, and
the "cookie get" function only looks at the request to see what cookies
are set.

What is the solution to my problem? 

Thank you,
Istvan



More information about the Mod_python mailing list