sessionStorage

Term side of the Card
Topic: Store Data in Browser
Unit title: sessionStorage
Categories: Object
Explanation side of the Card

Explanation: The browser API object that allows storing key-value pairs in the browser for the duration of the page session. Data stored in `sessionStorage` is available while the page is open in the current tab or window and persists through page reloads, but is cleared when the tab or window is closed.

Browser compatibility:
  • The chrome browser supports this feature starting from version 4
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 2
  • The safari browser supports this feature starting from version 4
Availability: