搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

With 'Never remember history' setting sessionstorage and localstorage are cleared between redirects. Why?

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

I am a web application developer. My application is using open authentication. As part of the login process the application stores information in the session storage of the browser. Then the user is redirected to a login page. When, after a successful login, the user is redirected back, the information in the session storage is gone. The same problem when I use local storage.

This problem only occurs with the setting: Never remember history.

Is this a bug or a feature?

Other browsers do not have this behavior.

I am a web application developer. My application is using open authentication. As part of the login process the application stores information in the session storage of the browser. Then the user is redirected to a login page. When, after a successful login, the user is redirected back, the information in the session storage is gone. The same problem when I use local storage. This problem only occurs with the setting: Never remember history. Is this a bug or a feature? Other browsers do not have this behavior.

所有回覆 (2)

more options

Hi cornelos

Unfortunately we can't help you here because this is a Firefox user support forum not a web developer support forum. Please tag your question Firefox and ask it on Stack Overflow.

Cheers!

...Roland

more options

When you use Private Browsing mode then local storage (indexedDB) is disabled and all data is kept in memory. Local storage only works properly in regular mode. That is one of the disadvantages of PB mode. Only cookies work properly in PB mode although a separate cookie jar is used.