There is no direct way to disable the back button so that it is greyed-out and user cannot click on it.
However, there are some tricks using javascript which might be able to give you the results that we need, using javascripts window.history function with a session variable and automatically logging off and redirecting to the required page if user hits the back button.
javascript code
window.history.forward(1);
No comments:
Post a Comment