Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

LocalStorage gets reset on window.history.back() #24

Open
Ashutosh2 opened this issue Aug 20, 2015 · 0 comments
Open

LocalStorage gets reset on window.history.back() #24

Ashutosh2 opened this issue Aug 20, 2015 · 0 comments

Comments

@Ashutosh2
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant