Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Why is localstorage clearing itself when I close firefox?

  • 2 件の返信
  • 1 人がこの問題に困っています
  • 100 回表示
  • 最後の返信者: 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

すべての返信 (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.