Session Storage API Demo

The Web Storage API provides sessionStorage for key-value storage that persists only for the duration of the page session (until the tab or browser is closed).

sessionStorage is available: checking...

Store Data

Stored Items (0)

Session vs Local Storage Comparison

Save the same key to both storages to compare behavior:

sessionStorage

-

localStorage

-

Tip: Refresh the page or open a new tab to see the difference - sessionStorage is unique per tab!

Storage Info

API Support

Event Log

Storage events will appear here... Note: Storage events fire when data is changed from ANOTHER tab/window of the same origin.