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

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

Is it possible to Clear data but keep cookies?

  • 3 antwoorde
  • 0 hierdie probleem
  • 1 view
  • Laaste antwoord deur cor-el

more options

Hi

I want to clear data but the only option FF is offering is with cookies. I want to delete all but cookies.

Image: https://imgur.com/jwLXxFx

Here it only says Cookies AND Site Data. But I want Site Data without Cookies. Can I somehow manually delete those files? Or manually selectively empty some tables in SQLite databases that FF uses? If yes then what files/databases exactly?

Hi I want to clear data but the only option FF is offering is with cookies. I want to delete all but cookies. Image: https://imgur.com/jwLXxFx Here it only says Cookies AND Site Data. But I want Site Data without Cookies. Can I somehow manually delete those files? Or manually selectively empty some tables in SQLite databases that FF uses? If yes then what files/databases exactly?

All Replies (3)

more options

You can use "Clear Recent History" to specify what data to clear.

  • using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies
  • clearing "Site settings" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data

Cookies are stored in cookies.sqlite in the Firefox profile folder, so you can possibly keep a backup if you find cookies important.

more options

Thanks!

In clear recent history, what is the difference between Cookies and Active Logins? Aren't logins also just cookies?

more options

There are two ways to authenticate to make a website recognize that you have logged in. One is to store a session ID in a cookie which is send with every request to the server. This is normally used when you login to a website. Another way to authenticate is via Basic HTTP Authentication and this is what Active Logins are about, this is used by FTP servers and other servers use this method to authenticate.

So both are different and shouldn't be confused.


Detail like websites remembering you and log you in automatically is stored in cookies, so make sure you aren't clearing important cookies.

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" to clear cookies keeps cookies with an allow exception
    in 102+ version toggling this setting makes changes to the "Clear history when Firefox closes" settings and those settings prevail
  • using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies

Make sure to keep the "Site settings".

  • clearing "Site settings" 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