About
webStorage is a name that regroups all key pair storage mechanisms of a browser.
There are actually two:
- and SessionStorage
The difference is that data stored in a sessionStorage gets cleared when the browsing session ends, that is when the browser is closed.
To see the availability, see https://caniuse.com/namevalue-storage