(OT) Where Are Cookies Stored?
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Tue Dec 15 17:29:06 EST 2009
On Tue, 15 Dec 2009 13:03:07 -0300, Gabriel Genellina wrote:
> En Tue, 15 Dec 2009 12:30:23 -0300, Victor Subervi
> <victorsubervi at gmail.com> escribió:
>
>> I've googled, found where cookies are supposed to be, the folders and
>> files don't exist.
[...]
> How the browser stores its cookies should be irrelevant. Whenever a
> server response contains a Set-Cookie header, the browser saves the
> cookie. When the client issues a request that matches a saved cookie, it
> adds a Cookie header with the cookie. From the server POV, you don't
> care how the cookie is stored.
But you do care if you're writing a cookie manager, or if you need to
grab an existing cookie from disk and do something with it (as wget
allows you to do, for example).
Victor, have you got Firefox set to delete all cookies when you log out?
--
Steven
More information about the Python-list
mailing list