Re: Code after History.fireCurrentHistoryState() will execute any more?

2010-06-25 Thread Ben Harris
Do it the second way. I'm not sure if the new history token will kick in before the javascript has finished (i.e. Do_my_work() might still be executed even if the user is not logged in). On Jun 22, 5:19 pm, mahesh wrote: > hi, > > I have an MVP app, on which i'm showing different views on the sam

Code after History.fireCurrentHistoryState() will execute any more?

2010-06-23 Thread mahesh
hi, I have an MVP app, on which i'm showing different views on the same container as per the history token. So one of my view has a context checking logic, that checks whether the logged in cookie is there or not. If no cookie, I need to redirect to the login view by changing the history token. So