On Tue, Dec 15, 2009 at 4:05 PM, MRAB <pyt...@mrabarnett.plus.com> wrote:

> What you got from HTTP_COOKIE was a _string_ (or None). You then need to
> turn it into a cookie:
>
>    cookie_string = os.environ.get('HTTP_COOKIE')
>    if cookie_string:
>        cookie = Cookie.SimpleCookie(cookie_string)
>        ...
>    else:
>        cookie = Cookie.SimpleCookie()
>

Ah. Thanks!
V
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to