为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Firefox deleting cookies and history on closure

  • 2 个回答
  • 1 人有此问题
  • 11 次查看
  • 最后回复者为 stevebromsash

more options

I have recently installed Firefox but am unable to stop it deleting cookies and history on closure. In the 'privacy and security -> history' settings I selected 'Use custom settings', unticked 'private browsing' and 'clear history' and ticked 'remember browsing and search history'. In the 'clear history' section I unticked everything except 'cache'. Despite this cookies and search history have been deleted so I have re-sign onto web sites. I have also tried the 'remember history' setting instead of 'custom settings' but this does not work either. I had already added extensions and customised Firefox so I tried a 'refresh' which had no effect. Finally, I removed all traces of Firefox from my PC and did a clean install (no extensions or customisation). I used the default privacy/security settings but again got the same result. I am running Firefox v99 on Windows 10 Pro v21H2. Any ideas how I can fix this?

I have recently installed Firefox but am unable to stop it deleting cookies and history on closure. In the 'privacy and security -> history' settings I selected 'Use custom settings', unticked 'private browsing' and 'clear history' and ticked 'remember browsing and search history'. In the 'clear history' section I unticked everything except 'cache'. Despite this cookies and search history have been deleted so I have re-sign onto web sites. I have also tried the 'remember history' setting instead of 'custom settings' but this does not work either. I had already added extensions and customised Firefox so I tried a 'refresh' which had no effect. Finally, I removed all traces of Firefox from my PC and did a clean install (no extensions or customisation). I used the default privacy/security settings but again got the same result. I am running Firefox v99 on Windows 10 Pro v21H2. Any ideas how I can fix this?

所有回复 (2)

more options

Did you also look at "Delete cookies and site data when Firefox is closed" ?

You can use these steps to make a website recognize and remember you.

  • create a cookie allow exception with the proper protocol (https:// or http://) to make a website remember you

You can check that you aren't clearing important cookies.

  • using "Delete cookies and site data when Firefox is closed" keeps cookies with an allow exception
  • using "Clear history when Firefox closes" to clear cookies clears all cookies including cookies with an allow exception you may want to keep
  • clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
  • Settings -> Privacy & Security
    Cookies and Site Data: "Manage Exceptions"
  • Settings -> Privacy & Security
    Firefox will: "Use custom settings for history":
    [X] "Clear history when Firefox closes" -> Settings
more options

Many thanks for the prompt reply. I added the relevant web site to the exception list and checked the other settings as per your suggestions; all my browsing history and stored passwords is now being kept. However, although the web site required a sign-in is marked as an exception, its cookie still seems to get deleted on closure. I have to sign in for each new session. Is there anything else I can try?