Using Cookie.py under Python 1.52
Rainy
sill at optonline.net
Fri May 25 11:46:51 EDT 2001
On Fri, 25 May 2001 14:21:53 GMT, Colin Meeks <colinmeeks at home.com> wrote:
> 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
Session usually refers to the program run: i.e. the session starts when
you start IE and ends when you close IE.
>
>
> "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
>>
>>
>
>
--
Lime and limpid green
a second scene
A fight between the blue
you once knew
- Syd
More information about the Python-list
mailing list