Disabling the back button

Disabling the back button is a bad idea. The user of the browser expects his browser to behave properly, and your design should match the users expectations. More than likely, disabling built-in browser functionality will just frustrate the user.

If you are still intent on doing this, here are a few relevant links:
A Thorough Examination of "Disabling the Back Button." 4 guys from Rolla
Disable Browser Back Button Using Javascript ASP.NET Csharpdotnetfreak
How to disable browser's BACK Button (across browsers)?Stackoverflow.com
Q: Disable back button in internet explorer Answers.google.com
Q311 How do I disable the "Back" button of a browser? Irt.org

The following code fragment was the original code for this page, and as far as I can tell, it just doesn't work:

To: "aspbrowserheck" <[email protected]>
Subject: [aspbrowserheck] RE: back button

We had that same requirement, what we came up with was a rather simple idea.
Each page that we want refreshed we simply add " history.go(1);" in a
function fired by the onload event.
 

What do you think?

Name (optional)

Email (optional)

Your comment (optional, but helpful)