[mod_python] Cookies

Cristian Re cristian.re at gmail.com
Wed Nov 26 06:25:19 EST 2008


2008/11/26 Graham Dumpleton <graham.dumpleton at gmail.com>

> This only reads the cookies if set. How are you setting them in the first
> place?
>
> Have you tried examples as written in:
>
>  http://www.modpython.org/live/current/doc-html/pyapi-cookie-example.html
>
> See also:
>
>  http://webpython.codepoint.net/mod_python_publisher_cookies
>
> Graham
>


I set the cookies in a .cgi write in python some like:

import Cookie

cook = Cookie.SimpleCookie()
cook["test"] = "test"
print cook
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20081126/8a6b1288/attachment-0001.html


More information about the Mod_python mailing list