My favorite website is using windows.localStorage. When I close the browser my data disappear. How can persist my data in Microsoft Edge.
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.
13 people are following this question.