Using Cookie.py under Python 1.52
Colin Meeks
colinmeeks at home.com
Fri May 25 10:21:53 EDT 2001
I think I found the problem. In the cookie you have to set the max-age and
expires (netscape seems to need the latter) properties. This tells the
browser to store the cookie for x amount of seconds, otherwise the cookie
is just stored for that particular session.
Does anybody know how long a session lasts?? Does a session end when the
user navigates to another site??
Colin
"Colin Meeks" <colinmeeks at home.com> wrote in message
news:skhP6.29977$425.7268630 at news3.rdc1.on.home.com...
> I'm trying to use Timothy O'Malley's Cookie.py and have reach a stumbling
> point. I know how to create my cookie, populate it and return it before
my
> content heading, but how does it get transferred to the users hard disk
and
> thus picked up again. In my experiments, I haven't found a cookie created
> in my cookie directory. I'm using Windows2000 as my development platform,
> but will be transferring the finished program to a Linux based ISP. Any
> tips gratefully received.
>
> Colin
>
>
More information about the Python-list
mailing list