![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
With 'Never remember history' setting sessionstorage and localstorage are cleared between redirects. Why?
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.
Toate răspunsurile (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.