Why are my cookies not automatically deleting? The cookies use to be automatically removed.
I do not know WHEN it started because I trusted Firefox to maintain the cookie deletion function upon exiting and it is a fluke that I caught it not doing it today. I have selected the appropriate option under privacy/security, but the cookies remain. I do not want to have to go in and delete them manually every time I use the browser. This feature was one of the main reasons that I chose to use firefox as my main browser. I do not think it is a problem with my computer, but with firefox itself. Please help!
All Replies (2)
Hello,
Can you check your privacy settings in:
- Tools (or ) > Options > Privacy
If you have custom settings, make sure "Clear History when Firefox Closes" is checked and in Settings, Cookies are checked.
Note that your system details show that you have a user.js file, if you did not create it yourself, you can delete it by going to your profile folder:
- Help (or > ) > Troubleshooting Information
- Click the Show Folder Button
- See the article Profiles - Where Firefox stores your bookmarks, passwords and other user data for more information, such as locating your profile folder without using Firefox
If you did create it, make sure that there are no settings in there that prevent your cookies from being deleted. Also make sure you don't have a mozilla.cfg file
See:
If clearing cookies didn't help then it is possible that the cookies.sqlite file that stores the cookies got corrupted.
- Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete other present cookies files like cookies.sqlite-journal in the Firefox profile folder in case the file cookies.sqlite got corrupted.
You can use this button to go to the currently used Firefox profile folder:
- Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
- http://kb.mozillazine.org/Profile_folder_-_Firefox
Are you automatically reopening tabs and windows from the previous session via session restore?
- Tools > Options > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"
Firefox stores cookies used in tabs that are currently open in the sessionstore.js file as part of saved session data, so those cookies will be restored if Firefox is closed without first closing these tabs.
You can set the browser.sessionstore.privacy_level pref to 2 (never) or 1 (non-HTTPS) on the about:config page to disable saving cookies via session restore in the sessionstore.js file. The browser.sessionstore.privacy_level_deferred pref is used when you do not reopen the previous session automatically via "Show my windows and tabs from last time" and uses the same values.