By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,777 Members | 1,311 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,777 IT Pros & Developers. It's quick & easy.

Disable brower Back button

P: n/a
Hi there,
is it possible to disable the browser back button, or trap
the event and stop it?
Nov 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
No. It's likely best to solve the initial problem.

For example, if this is to prevent coming back to a past page, it's likely
best to avoid putting the page in the history or to handle coming back to
this page (the user could also put the page in its favorites and so own).

What is the exact problem ?

Patrice
--

"Waldy" <wa***@notmail.com> a écrit dans le message de
news:eI**************@TK2MSFTNGP09.phx.gbl...
Hi there,
is it possible to disable the browser back button, or trap
the event and stop it?

Nov 19 '05 #2

P: n/a
No.
One way that can work in some situations is to open a new window. This new
window will have no history, therefore the back button will be disabled.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Waldy" <wa***@notmail.com> wrote in message
news:eI**************@TK2MSFTNGP09.phx.gbl...
Hi there,
is it possible to disable the browser back button, or trap
the event and stop it?

Nov 19 '05 #3

P: n/a
I put a history.forward() script command at the top of the pages which I
don't want users going back to. That seems to work OK.
Nov 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.