Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Why are my cookies not automatically deleting? The cookies use to be automatically removed.

  • 2 个回答
  • 1 人有此问题
  • 13 次查看
  • 最后回复者为 cor-el

more options

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!

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!

所有回复 (2)

more options

Hello,

Can you check your privacy settings in:

  • Tools (or New Fx Menu) > 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:

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:

more options

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:


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.