Session Storage API
Last updated
Last updated
Session Storage API is a part of Web Storage API which allows web apps to store data locally as key/value pairs within the browser's storage.
The data stored using Session Storage API is non-persistent - ie, the stored data in a particular tab is not accessible to other tabs of the same origin, and it gets cleared from the storage if the tab is closed.
You can refer to the code present in /partials/web-apis/session-storage.html
file and use it accordingly.