Open alexgoldstone opened 8 years ago
Hello we've got session auth app, need to use sessionStorage only, any ideas to use sessionStorage?
We could add an option to specify which one you want. Shouldn't be a big deal.
Hello team! can you please confirm if this has been added?
Any update on using session storage? please let us know if we can find any sample how we can set to use session storage instead of local storage
Just replace the IdleStorageAccessor
in your module:
.service('IdleStorageAccessor', ['$window', function($window) {
return {
get: function() {
return $window.sessionStorage;
}
}
}])
The library currently uses Window.localStorage this works well when sessions are supported across multiple browser tabs.
I would like the option to use Window.sessionStorage instead for use-cases where sessions are also stored in Window.sessionStorage and each tab is considered a different session.