Allows user to fetch or retrieve the value saved in the session storage for any other pages to be loaded which acts as temporary.
Smart code –
Syntax
GetFromSessionStorage(variablename, sessionname)
Parameters
- Variable Name (Required) – Name of the variable to store the session key value
- Session Name (Required) – The key name of the value where stored in the session
Direct Code –
Syntax
var userid;
await Orefuncs.GetLocalStorageDirect(“UserId”).then((response) => {
if(response == undefined)
{
userid=””;
}
else{
userid = response;
}
});