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

LocalStorage gets reset on window.history.back()

Open Ashutosh2 opened this issue 10 years ago • 0 comments

I am storing some data in localStorage, but after calling window.history.back(), the data gets reset, for page refresh it works fine. How do deal with window.history.back() scenario.

Thanks in advance.

Ashutosh2 avatar Aug 20 '15 18:08 Ashutosh2