Developing and testing features or extensions for Microsoft Edge
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
My favorite website is using windows.localStorage. When I close the browser my data disappear. How can persist my data in Microsoft Edge.
Developing and testing features or extensions for Microsoft Edge
Answer accepted by question author
Refer to the official documentation here on available storage options that web apps can use.
Local storage persists across browser sessions. It is stored in the user's cache and remains there until it is cleaned up by the user or via the web app.
If the data is not persisting across browser sessions then it is using session storage, not local storage, or the web app is wiping the data. This is common for cached data the site might use. I guess it could also happen if you were running an in private window or something similar as well.
It works fine in Firefox and Chrome, but broken in Edge.
Sometimes a browser has a feature delete data on exit. I may accidentially turn on such a thing. No I don't own this site. I am trying to convince customer support that they have a problem.
Local storage persists across browser sessions in Chrome but not in Edge.
Is that a bug or a feature?