This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search 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

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

  • 2 பதிலளிப்புகள்
  • 1 இந்த பிரச்சனை உள்ளது
  • 1 view
  • Last reply by cor-el

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.

All Replies (2)

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

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.