Web Storage concepts and usage

The two mechanisms within Web Storage are as follows:

  • 1
    sessionStorage

     maintains a separate storage area for each given origin that’s available for the duration of the page session (as long as the browser is open, including page reloads and restores)

  • 1
    localStorage

     does the same thing, but persists even when the browser is closed and reopened.


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *