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

Exceptions to deleting cookies upon exit

  • 2 cavab
  • 1 has this problem
  • 19 views
  • Last reply by crl4242

more options

Hi,

I normally delete all history, including cookies, each time I log out of Firefox 99.0. I have two sites for which I would like to keep cookies. I entered them as exceptions, but each time I log out those exceptions are lost.

Is there any way I can those specific cookies?

Thank you.

Hi, I normally delete all history, including cookies, each time I log out of Firefox 99.0. I have two sites for which I would like to keep cookies. I entered them as exceptions, but each time I log out those exceptions are lost. Is there any way I can those specific cookies? Thank you.

Chosen solution

Make sure you use "Delete cookies and site data when Firefox is closed" and not "Clear history when Firefox closes" to clear the cookies as the latter doesn't honor exceptions. Also make sure you keep the Site Preferences as clearing the SP includes exceptions.


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
Read this answer in context 👍 1

All Replies (2)

more options

Seçilmiş Həll

Make sure you use "Delete cookies and site data when Firefox is closed" and not "Clear history when Firefox closes" to clear the cookies as the latter doesn't honor exceptions. Also make sure you keep the Site Preferences as clearing the SP includes exceptions.


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

Thanks again for your help.