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
and i set some data inside localstorage but when i checked in different tab (browser tabs) its returning null. Is there anything which i missed in configuration (do i need to change sessionStorage to cookie?). Is there anything i need to specify inorder to share the data between tabs? Please help !!! I really need the data between tabs just like server session.
The text was updated successfully, but these errors were encountered:
Is there a way to get the best of both worlds? When the browser is closed the session no longer exists (as is the case with "sessionStorage") but while actively using the browser the user will stay logged in across tabs?
Correct me if I'm wrong, but I think this is the type of behavior you would see using something like PHP to manage the sessions.
I have implemented localstorage in my web app configuration given below,
app.config(function (localStorageServiceProvider) {
localStorageServiceProvider
.setPrefix('appName')
.setStorageType('sessionStorage')
.setNotify(true, true)
});
and i set some data inside localstorage but when i checked in different tab (browser tabs) its returning null. Is there anything which i missed in configuration (do i need to change sessionStorage to cookie?). Is there anything i need to specify inorder to share the data between tabs? Please help !!! I really need the data between tabs just like server session.
The text was updated successfully, but these errors were encountered: