0

Possible Duplicate:
Disabling Back button on the browser

How to do this in asp.net friends?

Community
  • 1
  • 1

2 Answers2

3

If I'm a (prospective) customer of your company and you try to take away functionality of my browser, I will get angry at you and your company. You don't want that to happen.

If your user's logged out and uses the back button to go to a stale URL, detect this (it's simple enough!) and show him a page telling him there's nothing to see there. Better yet, take him to your app's home page or something.

Carl Smotricz
  • 66,391
  • 18
  • 125
  • 167
0

You cannot disable the back button in a browser without using javascript, and even then javascript could be turned off on clients machine

http://forums.asp.net/t/989339.aspx

Longball27
  • 676
  • 1
  • 8
  • 29