[mod_python] Cookies

Clodoaldo Pinto Neto clodoaldo.pinto.neto at gmail.com
Wed Nov 26 06:56:59 EST 2008


2008/11/26 Cristian Re <cristian.re at gmail.com>:
>
>
> 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

This one is CGI specific:

http://webpython.codepoint.net/cookies

Regards, Clodoaldo

>>
>> Graham
>
>
> I set the cookies in a .cgi write in python some like:
>
> import Cookie
>
> cook = Cookie.SimpleCookie()
> cook["test"] = "test"
> print cook
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>
>


More information about the Mod_python mailing list