angular-local-storage
angular-local-storage copied to clipboard
Setting expiration to '0' seems not working
I've config cookie for one day in global settings
localStorageServiceProvider
.setStorageCookie(1, '/');
When I set explicitly in code like below
localStorageService.cookie.set(key,val,8)
It worked. But when I set to expiration to 0, seems it doesn't work.
localStorageService.cookie.set(key,val,0)
Any ideas?
Question somehow answered with #246. I will mark this is as a bug.