(OT) Where Are Cookies Stored?

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue Dec 15 11:03:07 EST 2009


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. I've opened my latest and greatest FF and seen cookies in
> there, but when I search for the name of the cookie in the C: dir, it's  
> not
> there...anywhere. I've made sure no folders/files are hidden and I still
> can't find them. In as administrator. What up? XP OS I need to get in so  
> I
> can learn how to program with cookies.

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.

-- 
Gabriel Genellina




More information about the Python-list mailing list