sessionStorage in HTML5

What is sessionStorage in HTML5?

The sessionStorage is HTML5 features and used to store data in the client browsers but store data for one session. If browser is closed that time data is lost.

myStore['sessionStorage'] = function(key, val) {
  try {
        sessionStorage.setItem(key, val);
        return true;
    catch(e) {
       return false;


Hey! I'm Anil Singh. I author this blog. I'm Active Blogger, Programmer. I love learning new technologies, programming, blogging and participating the forum discussions more...
My Blogs - and
My Books - Interview Questions and Answers Books- Get Your Book in 15+ Digital Stores Worldwide..

You Might Also Like Powered by Blogger.
ASK Questions