NinethSense oWnZ mE!: Praveen’s drawing book

Choose a Topic:

Fri
8
Jun '07

Disable back button

After the first test phase, it is always the problem for developers to handle browser ‘back button’ disaster. There are so many ways to handle this. But the way you select depends on the nature of your ‘probelm’.

Well, this method I liked much.
<script language=“javascript”>
      history.go(1);
</script>



Put this in the of your page. This will allow the page to load only ‘forward’ and virtually disables the ‘backword’
The CodeProject Microsoft Developer Network Official ASP.NET Forums Microsoft .NET Framework Community Microsoft Most Valuable Professional Kidoos forums Microsoft Visual Studio Developer Home Professional Information Technology Solutions Microsoft Research Home Kerala Microsoft Users Group Community Website