What do you mean by sessionStorage in HTML5?

Solution

The sessionStorage property allows you to access a session Storage object. sessionStorage is similar to Window.localStorage, the only difference is while data stored in localStorage has no expiration set whereas data stored in sessionStorage gets cleared when the page session ends. A page session lasts for as long as the browser is open and survives over page reloads and restores.

Share this thread

Comments

Comments
comments powered by Disqus

Navigation

Social Media