| Author |
disabling back button in browser
|
Naresh Chaurasia
Ranch Hand
Joined: May 18, 2005
Posts: 309
|
|
hi, i have built an application and want to disable back button for the user. how can i do it Thnx,
|
SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
|
 |
Adeel Ansari
Ranch Hand
Joined: Aug 15, 2004
Posts: 2874
|
|
No. You cant. Wish we could do that.
|
 |
Adeel Ansari
Ranch Hand
Joined: Aug 15, 2004
Posts: 2874
|
|
Try to use <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> instead.
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
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 ]
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
 |
|
|
subject: disabling back button in browser
|
|
|