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’

VN:F [1.1.6_502]
Rating: 0.0/5 (0 votes cast)
Share:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • DotNetKicks
  • LinkedIn
  • Live
  • MySpace
  • StumbleUpon
  • Technorati

Related posts:

  1. How to disable button after submit - ASP.NET
  2. How to add image to a button in ASP.NET?
  3. Build DateTime from values
  4. System.ArgumentException: The serialized data is invalid
  5. How to add a button to Outlook Standard toolbar