• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

disabling back button in browser

 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i have built an application and want to disable back button for the user. how can i do it
Thnx,
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. You cant.
Wish we could do that.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to use

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

instead.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "best-practice" way to manage this is to make sure your application can properly handle this kind of navigation, rather than trying to stop the user from performing what is a perfectly valid operation.

Have a search through this forum - this question has been addressed countless times.
[ May 19, 2005: Message edited by: Paul Sturrock ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic