Saturday, July 18, 2009

Firefox Forgets Your Website Logins

I have had a problem with Firefox 3.0 and 3.5 where, upon closing and reopening the browser, I had to log back into all my sites, even though I had set them to stay logged in. Here is how to resolve the problem:

1. Close Firefox

2. Delete the cookies.sqlite and cookies.sqlitejournal from one of the following locations:
Vista/7: C:\Users\{your user folder}\AppData\Roaming\Mozilla\Firefox\Profiles\{random characters}.default
XP/2000: C:\Documents and Settings\{your user folder}\Application Data\Mozilla\Firefox\Profiles\{random characters}.default
-You may need to show hidden files and folders. Here's how:
Vista/7: Click Organize>Folder and Search Options>View then select Show Hidden Files and Folders
XP: Click Tools>Folder Options>View then select Show Hidden Files and Folders

3. Launch Firefox and log back into your sites. Close out and relaunch to test. You're done!

4. Go to Start>My Computer (or Computer in Vista/7). Right click on the C: drive and choose Properties. Click the Tools tab and choose Check Now. If Vista, click Continue. Make sure the option for Automatically fix file system errors is selected, click Start. Select the option to Schedule the check for the next boot.

5. Restart the computer, then go back to step 2.

This is an SQLite issue, so don't expect Mozilla to fix this. They would have to add code into the browser to give you a button to read the information from, delete, and rebuild the Firefox SQLite database files. Sounds like an extension begging to be written, though.

Edit 11/7/09: If you continue to have to do these steps on Windows Vista or Windows 7 all the time, remove the AdBlock extension. This is what permanently solved the problem for me.

No comments: