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.

Rohkem teavet

"Manage Cookies and Site Data" lists site using no storage??

  • 5 vastust
  • 0 on selline probleem
  • 1 view
  • Viimati vastas azalea4va

more options

I am using an extension that automatically deletes cookies on Firefox startup. But when I start firefox, I am getting sites listed showing they have one or more cookies but are using no storage. Another Firefox extension indicates there are no cookies from the sites that "Manage Cookies and Site Data" says do have cookies.

Is this a bug in Firefox, a bug in the extension, or a misunderstanding on my part?

I am using an extension that automatically deletes cookies on Firefox startup. But when I start firefox, I am getting sites listed showing they have one or more cookies but are using no storage. Another Firefox extension indicates there are no cookies from the sites that "Manage Cookies and Site Data" says do have cookies. Is this a bug in Firefox, a bug in the extension, or a misunderstanding on my part?
Attached screenshots

Valitud lahendus

You can create a cookie allow exception with the proper protocol (https:// or http://) to make a website remember you

  • 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
Loe vastust kontekstis 👍 1

All Replies (5)

more options

You can use the Storage Inspector to see what data is stored for the website in the current tab.

You can check the storage folder (storage/default) in your profile folder to see what data is stored in indexedDB, this includes partitioned data stored for cross-site (third-party) websites.

Persistent cookies are stored in cookies.sqlite.

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).

more options

Cookies and storage are two separate things, you can have one without the other. Some extensions only deal with cookies.

Why not use the built-in setting "Delete cookies and site data when Firefox is closed"?

more options

cor-el, Thanks for that. The attached listing from the sqlite viewer confirms the presences of the cookies listed by Firefox in ManageData. See the attached showing a bunch of VRBO.com cookies (as well as others).

So why are those cookies not getting deleted by the Cookie Auto Delete extension?

Zeronight,

Because I do not want to delete ALL cookies when I exit from Firefox. There are a number of websites that allow me to specify that I am running from a trusted computer. By doing so, I can bypass some extra authentication measures they require and I want to take advantage of that on a small number of sites. In some cases that is very important because I live in a location with marginal cell service and if I have to enter a code sent to my cell phone I am locked out because I cannot get the cell signal needed to receive that code.

The websites know I have indicated the computer can be trusted because that info is stored in a cookie. I do not want that cookie deleted. So instead of using the built-in sledge hammer capability that is part of firefox, I use the Cookie Auto Delete extension.

My understaniding is it will delete all cookies on browser restart except those specified in a whitelist. But cookies not in my minimal whitelist are not being deleted.

So do I misuderstand what CAD does or does it have a bug?

more options

Valitud lahendus

You can create a cookie allow exception with the proper protocol (https:// or http://) to make a website remember you

  • 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
more options

cor-el:

Thank you, your suggestion has seemed to solve the problem. I would classify the root cause of the problem as poor documentation.

The entries "Manage Data" are described as follows. You can specify which websites are always or never allowed to use cookies and site data. Allowing a site to use cookies is different than whether or not a site cookies are preserved when Firefox is closed. There may be better documentation on the details of what Manage Data entries do (and the relationship between HistorySetting>SiteData and ManageData), but I could not find it. Certainly https://support.mozilla.org/en-US/kb/storage?as=u&utm_source=inproduct&redirectslug=permission-store-data&redirectlocale=en-US did not provide the necessary information.