This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes How to disable back button of browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to disable back button of browser" Watch "How to disable back button of browser" New topic
Author

How to disable back button of browser

Muneeswaran Balasubramanian
Ranch Hand

Joined: Mar 19, 2010
Posts: 138
Hi JavaScholars,
I have an application which is run in the browser.

I have the option for go back.i.e,

By click the home button of my application.

Whenever i click the home button it navigate to my home page.

Also by clicking the browser default back button,it go back to the previous page.

I want to disable the back button of browser for security purpose.

But whenever i click the home button of my application it have to navigate to my home page.

How can i achieve this?
Please help me.
May be the small things also guide me to achieve this.
Cheers Munees
My Blog


Cheers Munees
My Blog
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60804
    
  65

You cannot reliably do so, and you should not. Search for previous posts on this very topic.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to disable back button of browser
 
Similar Threads
Disabling session when clicking Back button and redirecting to Login page with message
upon click of back button, go to logout page
Disabling Back Button in a browser
Disabling Back Button in a browser
Display tag pagination back button problem