This discussion is archived
0 Replies Latest reply: Jul 1, 2008 6:27 AM by 843844 RSS

Disabling the browser back button

843844 Newbie
Currently Being Moderated
I need to disable the browser back button(*irrespective of browser*).

It should be like when we click on the browser back button application should navigate to the error page( with no history on the error page)

1)I follwed the procedute given in the following web site
http://techiezthoughts.blogspot.com/2007/03/handling-browser-back-button-presses.html

it works fine but the problem is, onunload function is called even the user clicks on the browser refresh button.

2)and I implemented history.forward() in the onload function but it is working but it is giving the flicking effect

Please suggest me the solution apart as mentioned above

Thanks in advance

Praveena