I have around 10 pages in my application and I am using
viewstack. I have a login page as the first page of the viewstack
Only after I login to the application I should be able to
access the other pages. Assume that I am logged in and accessing
page 5 and I do a refresh, the login page comes back instead of
page 5. I want to be still in page 5 and the content of page 5 be
refreshed. How do I achieve this?
Set a global variable at login, and check this global
variable in some event related to refresh ("show" event???), and
maybe store variable indicating current page viewed so your code
know how to return to it.