Hi
When a user logs out from my application, he goes back to the login page.
When the login page loads, I added window.localStorage.clear(); in order to remove all grids related persistence.
The problem is, when I logout from the grid page itself, the localstorage is deleted but is immediately filled again with the grid persistence.
I read that the persistence is stored when leaving the page so it seems that my clearing code happens before even though it happens after the "next" page finishes to load. I couldn't find a place where my code will happen after yours. Is there such place? Happens on both chrome and firefox.
Thanks