'SessionStorage is not cleared?
My understanding of sessionStorage is that it should be cleared when the session ends (browser/tab is closed, user navigates away, that kinda thing). Which is the desired behaviour.
However, in Chrome (the target browser) it isnt cleared on any of these events but seems to persist a la localStorage.
Any ideas why? I am wondering if its some weird setting in chrome where I sync from desktop to laptop or something?
Other than cookies, any way to solve this for a specific domain/application?
In case it changes anything
sessionStorageis accessed through aWebStorage- We are using ReactJS
- latest version of Chrome available for Mac M1
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
