為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Cookies that are allowed through exceptions are still removed when I close FireFox.

  • 2 回覆
  • 1 有這個問題
  • 25 次檢視
  • 最近回覆由 cor-el

more options

In the cookie settings I have set it to remove cookies when FireFox closes and for the cookies I want to keep I have added appropriate exceptions and set them all to allow but when I close FireFox all cookies are removed, even the ones I've specified to allow. This has worked in the past, by which I mean autumn or later.

Edit: Just to clarify, these are my webhistory and cookie settings.

Custom settings for web history

- Always use private [Unchecked]
- Save history of pages and downloads [Checked]
- Save search and.... [Checked]
- Allow cookies [Checked]
    Third party - never
    Keep - until Firefox closes
- Clear history when firefox closes [Unchecked]

And then I have a list of domains that are allowed to keep cookies through exceptions.

In the cookie settings I have set it to remove cookies when FireFox closes and for the cookies I want to keep I have added appropriate exceptions and set them all to allow but when I close FireFox all cookies are removed, even the ones I've specified to allow. This has worked in the past, by which I mean autumn or later. Edit: Just to clarify, these are my webhistory and cookie settings. Custom settings for web history - Always use private [Unchecked] - Save history of pages and downloads [Checked] - Save search and.... [Checked] - Allow cookies [Checked] Third party - never Keep - until Firefox closes - Clear history when firefox closes [Unchecked] And then I have a list of domains that are allowed to keep cookies through exceptions.

由 Korpen 於 修改

所有回覆 (2)

more options

In the custom History Settings, do you have clear all cookies on exit selected? You can go into advanced as well and add exceptions.

Please update to the most recent version of Firefox:

由 guigs 於 修改

more options

If you use "Clear history when Firefox closes" to clear Cookies then exclude cookies and instead let cookies expire when Firefox is closed to make them session cookies.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Keep until: "I close Firefox"

Create a cookie 'allow' exception for cookies that you want to keep.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Exceptions

If you use "Clear history when Firefox closes" or otherwise clear history.

  • do not clear the Cookies
  • do not clear the Site Preferences
  • Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.
  • Clearing Cookies will remove all selected cookies including cookies with an allow exception that you want to keep.