Mozilla 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

Why is localstorage clearing itself when I close firefox?

  • 2 प्रत्युत्तर
  • 1 यह समस्या है
  • 100 views
  • के द्वारा अंतिम प्रतियुतर 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

चुने गए समाधान

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

संदर्भ में यह जवाब पढ़ें 👍 0

All Replies (2)

more options

Attached screenshot of my privacy settings.

more options

चयनित समाधान

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