This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cookie exceptions disappear on exit

  • 3 replies
  • 1 has this problem
  • 89 views
  • Last reply by cor-el

more options

Been happily using firefox for months now with same privacy settings:

History:

- Use custom settings
- Clear history when firefox closes -> settings: all except cookies checked

Cookies and Site Data:

- Accept cookies, Keep until Firefox is close
- In Exceptions I've got bunch of sites with allowed cookies

So, normally all cookies except allowed ones have been cleared on firefox exit. But now for some reason cookie exceptions list disappears on exit.

Something I've already tried:

- It happens when all extensions are disabled
- deleted permissions.sqlite

Any ideas?

Been happily using firefox for months now with same privacy settings: History: - Use custom settings - Clear history when firefox closes -> settings: all except cookies checked Cookies and Site Data: - Accept cookies, Keep until Firefox is close - In Exceptions I've got bunch of sites with allowed cookies So, normally all cookies except allowed ones have been cleared on firefox exit. But now for some reason cookie exceptions list disappears on exit. Something I've already tried: - It happens when all extensions are disabled - deleted permissions.sqlite Any ideas?

Chosen solution

You need to exclude the Site Preferences if you want to keep the exception.

  • clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exception for password and other website specific data

You can set network.cookie.thirdparty.sessionOnly to true on the about:config page to make third-party cookies behave as session cookies that expire when Firefox is closed.

Read this answer in context 👍 0

All Replies (3)

more options

https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save

Note: Some software, like Advanced SystemCare with Surfing Protection, can protect files in the Firefox profile folder against changes. If you have such software then check the settings or uninstall this software.

more options

Don't have such tools. Using SQLite browser I can see that exception is stored to moz_perms table but when i exit it immediately disappears.

more options

Chosen Solution

You need to exclude the Site Preferences if you want to keep the exception.

  • clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exception for password and other website specific data

You can set network.cookie.thirdparty.sessionOnly to true on the about:config page to make third-party cookies behave as session cookies that expire when Firefox is closed.