Hi,
I googled "disable back button" and all solutions are fine for a standard ASP page but not for an AJAX UI. I can and do want to redirect my user to his last action inside my javascript code. But this of course only works if I can catch and reassign a new function to history.back(). Assigning a new function works (alert history.back gives me my code) but obviously the browser does not use it.
With AJAX this is a SERIOUS issue. Of course I can open the page in a new control less window, but even that at least the old IE with a tab add on screws up by opening the window in a tab.
So is there any solution for this ?
Thanks
Joe Robe
Hi,
While mainly focused on security, in one of the two (in the series of five), vids that are available on-demand already, Joe Stagner mentioned that they would be looking at this issue in an upcoming webcast. This is, after all security related, in that you need to know what is going to be executed - if and when. Beyond that, he mentioned that he is revising (again), the tutorial AJAX vids available in the Learn section of asp.net. Take a look at his site http://joeon.net for links for the on-demand webcast, or to sign up for the live Meeting editions still available (one a week, I think). As these have Q&A sessions, you'd have a shot at posting your question directly. Hope it helps. BTW, if you get a good answer - remember to pass it along. BRN..
In every page or in mater page add a script that will execute on page load. This script should imitate FORWARD button on the web browser. Note that it will do nothing if there is nothing in web-browser forward history. Since every page of your app tries to skip forward one page then one-by-one your browser will advance to the very last page in web-browser history.
history.go();
Take a look at Nikhils solution to this problem:
http://www.nikhilk.net/BackButtonSupport.aspx
No comments:
Post a Comment