aspose file tools*
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
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: 61772
    
  67

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to disable back button of browser