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.

Why is localstorage clearing itself when I close firefox?

  • 2 antwoorde
  • 1 het hierdie probleem
  • 100 views
  • Laaste antwoord deur paulonfs

more options

I'm doing some testing with localStorage on a local domain. Every time I close firefox, localstorage for the site is cleared. The domain I'm using takes the form http://example.dev. What is causing this and how do I prevent this from happening?

Many thanks paulonfs

I'm doing some testing with localStorage on a local domain. Every time I close firefox, localstorage for the site is cleared. The domain I'm using takes the form http://example.dev. What is causing this and how do I prevent this from happening? Many thanks paulonfs

Gekose oplossing

Found the solution. It's related to cookie settings. Must allow cookies until they expire, not just for session.

Lees dié antwoord in konteks 👍 0

All Replies (2)

more options

Attached screenshot of my privacy settings.

more options

Gekose oplossing

Found the solution. It's related to cookie settings. Must allow cookies until they expire, not just for session.