More than one cookie with urllib2

John J. Lee jjl at pobox.com
Tue Dec 23 14:53:43 EST 2003


Peter Hansen <peter at engcorp.com> writes:
> "John J. Lee" wrote:
[...]
> > Of course, cookies are "allowed" to vanish at random times.  I
> > remember reading something about servers telling browsers which
> > cookies are important to users and shouldn't be thrown away, but I've
> > completely forgotten where that was...
> 
> Hmm.... I doubt they're supposed to vanish if there is not too much
> data stored in them, and as there are no reports that I can find on the

I guess the only way to find out would be to find/write a little proxy
that keeps the most recent N HTTP messages, so you can look back at
what happened after they vanish.


> web about similar behaviour, I suspect they _don't_ vanish, even if they're
> allowed to.

You mean maybe the server deletes them by mistake?  Could be.


John




More information about the Python-list mailing list