How to declare Session in one page
objColl = {};
objColl["MyCate1"] = {};
objColl["MyCate1"].Name = "My Name";
objColl["MyCate1"].ID = 2311;
//Create Session Storage
sessionStorage.setItem('MySessionName', JSON.stringify(objColl));
How to Use Session values in another page
//Parse session storage to variable
var arrSessionObj = JSON.parse(sessionStorage.getItem('MySessionName'));
var myObj1 = arrSessionObj["MyCate1"].Name;
var myObj2 = arrSessionObj["MyCate1"].ID;
objColl = {};
objColl["MyCate1"] = {};
objColl["MyCate1"].Name = "My Name";
objColl["MyCate1"].ID = 2311;
//Create Session Storage
sessionStorage.setItem('MySessionName', JSON.stringify(objColl));
How to Use Session values in another page
//Parse session storage to variable
var arrSessionObj = JSON.parse(sessionStorage.getItem('MySessionName'));
var myObj1 = arrSessionObj["MyCate1"].Name;
var myObj2 = arrSessionObj["MyCate1"].ID;