Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Why is localstorage clearing itself when I close firefox?

  • 2 svar
  • 1 har detta problem
  • 112 visningar
  • Senaste svar av 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

Vald lösning

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

Läs svaret i sitt sammanhang 👍 0

Alla svar (2)

more options

Attached screenshot of my privacy settings.

more options

Vald lösning

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