grbsk / ng-idle

Responding to idle users in AngularJS applications.
http://hackedbychinese.github.io/ng-idle
MIT License
564 stars 195 forks source link

localStorage key problem with two applications on the same domain #209

Open nerezo opened 7 years ago

nerezo commented 7 years ago

Hi,

I am using server for my two web application internally (with IP Address). These two application uses same localStorage key (ngIdle.expiry) and override each others' expire times.

It would be great if a custom key name could be passed to IdleProvider.

Thanks.

nerezo commented 6 years ago

Hi, I made a pull request as part of this need: https://github.com/HackedByChinese/ng-idle/pull/211

yurikilian commented 6 years ago

Hello folks, can you merge this pr? I'm needing this too.