Table of Contents

WebStorage (key pair)

About

webStorage is a name that regroups all key pair storage mechanisms of a browser.

There are actually two:

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