Why is localstorage clearing itself when I close firefox?
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
Chosen solution
Found the solution. It's related to cookie settings. Must allow cookies until they expire, not just for session.
Read this answer in context 👍 0All Replies (2)
Attached screenshot of my privacy settings.
Suluhisho teule
Found the solution. It's related to cookie settings. Must allow cookies until they expire, not just for session.