Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Is it possible to Clear data but keep cookies?

  • 3 réponses
  • 0 a ce problème
  • 1 vue
  • Dernière réponse par 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?

Toutes les réponses (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