angular-local-storage icon indicating copy to clipboard operation
angular-local-storage copied to clipboard

Setting expiration to '0' seems not working

Open aa403210842 opened this issue 10 years ago • 1 comments

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?

aa403210842 avatar Aug 15 '15 10:08 aa403210842

Question somehow answered with #246. I will mark this is as a bug.

ealves-pt avatar Feb 18 '16 00:02 ealves-pt