angular-webstorage icon indicating copy to clipboard operation
angular-webstorage copied to clipboard

Session storage should not fallback to cookies

Open blowsie opened this issue 12 years ago • 2 comments

Session storage is, by design intended for potentially private data. For this reason, it cannot be shared between tabs, or persist. And it is for this reason I think you should consider removing the cookie fallback for sessions storage. (or make it configurable)


Great work elsewhere by the way, great plugin!

blowsie avatar Nov 10 '14 14:11 blowsie

You should consider using angular-locker. It has a more consistent API, doesn't use cookie fallback, and is actively maintain.

Toilal avatar Feb 04 '15 08:02 Toilal

Added routines to check if local and/or session storage has been polyfilled or not. It is also possible to use the same routines to remove the polyfill functionality. isPolyfilled(remove) is now defined on webStorage.local and webStorage.session.

fredricrylander avatar Sep 01 '15 15:09 fredricrylander