You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using $sessionStorage to store value in session and this is my line of code
$sessionStorage.STORE_ID = '23';
. but every time I refresh the page am getting undefined when i try to retrieve the value. am retrieving by using the following method
var id = $sessionStorage.STORE_ID;
I've tried with $localStorage. it is working fine. so what is the problem with $sessionStorage. Does it has any limitations? or Do I need to add any extra code to work with $sessionStorage. Otherwise I might modify everywhere by replace that with $localStorage.
Any help please
Regards
Anson
The text was updated successfully, but these errors were encountered:
I'm using $sessionStorage to store value in session and this is my line of code
$sessionStorage.STORE_ID = '23';
. but every time I refresh the page am getting undefined when i try to retrieve the value. am retrieving by using the following method
var id = $sessionStorage.STORE_ID;
I've tried with $localStorage. it is working fine. so what is the problem with $sessionStorage. Does it has any limitations? or Do I need to add any extra code to work with $sessionStorage. Otherwise I might modify everywhere by replace that with $localStorage.
Any help please
Regards
Anson
The text was updated successfully, but these errors were encountered: