File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Disable back button of browser using javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Disable back button of browser using javascript" Watch "Disable back button of browser using javascript" New topic
Author

Disable back button of browser using javascript

kavita vala
Ranch Hand

Joined: Jul 22, 2010
Posts: 42
Hello all i want o disable back button using javascript when user logout.

I do it using


But it goes one page back. On next click on back it goes back to index page.
Than how can i totally disable back button or give any page ref. to back button.

How can i do this
harilal ithikkat
Ranch Hand

Joined: Oct 06, 2008
Posts: 221
Please have a look at this


SCJP 1.5
"A candle looses nothing by lighting another candle"
itechmentors.com
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

InterfaceDesignersRule1


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Disable back button of browser using javascript
 
Similar Threads
reload the jsp page
Disabling Browser's 'BACK' button
disable the browser back button
Back Button & Mouse Risk click
To Disable Back button in all the browsers