[mod_python] Cookies

Cristian Re cristian.re at gmail.com
Wed Nov 26 06:12:49 EST 2008

Hello, I have a problem with cookies.
I have a site who makes some cookies in a python cgi using
Now I want to introduce a script handled by mod_python but i didn't idea how
to read the cookies.
I have imported the Cookie module:

from mod_python import Cookie

and in the function i did:

cookies = Cookie.get_cookies(req)

but cookies is always an empty dictionary

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20081126/0de22bd9/attachment.html

More information about the Mod_python mailing list