r0g wrote: > Gabriel Genellina wrote: >> En Tue, 15 Dec 2009 12:30:23 -0300, Victor Subervi >> <victorsube...@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. >> > > > Cookies in FF for Windows are stored in an sqlite database in here... > > ~\Application Data\Mozilla\Firefox\Profiles\%XYZ%\firefox_profile\ > > Roger.
Whoops that should be... ~\Application Data\Mozilla\Firefox\Profiles\%XYZ%\cookies.sqlite Where XYZ is a big ugly random string with ".default" at the end. I have also written a pure python graphical sqlite editor/viewer that you might find useful if you want to see inside these file or edit them. Be careful with it though, it writes any changes to the DB immediately and without prompting! It's called sqex and you can d/l it here: http://www.technicalbloke.com/sqex0.1.zip It needs a wx library too BTW. Regards, Roger. -- http://mail.python.org/mailman/listinfo/python-list