Cookies and localStorage

Arne Garvander 606 Reputation points
2022-05-25T13:25:34.5+00:00

A website may save cookies on my computer.
If I test a website in Edge, Chrome, and Firefox I may get different cookies. Is that true?

A website may save data in LocalStorage on my computer.

If I test a website in Edge, Chrome, and Firefox I may get different data in LocalStorage. Is that true?
If I close the Chrome and Firefox data in LocalStorage will persist. Is that true?
If I close Edge 101 data in LocalStorage will not persist. Is that a bug?

Microsoft Edge Microsoft Edge development
0 comments No comments
{count} votes

Accepted answer
  1. Michael Taylor 60,161 Reputation points
    2022-05-25T14:42:43.507+00:00

    Each browser has their own local storage independent of the others.
    If you close the browser and it stored data in local storage then that data should be persisted across browser restarts.
    I have seen in this forum in the last week someone say that a website they use is using local storage and Edge isn't persisting it. The recommendation was to report the issue to MS and provide them repo steps so they can identify what is wrong.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.