aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes javascript for disable back button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript for disable back button" Watch "javascript for disable back button" New topic

javascript for disable back button

Anand Suryavanshi

Joined: Feb 16, 2009
Posts: 5
hello experts,

i want javascript to disable the back button of the IE.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39547
That's a nice summary article; I've added a link to it to the page.

Ping & DNS - updated with new look and Ping home screen widget
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Anand Suryavanshi wrote:hello experts,

i want javascript to disable the back button of the IE.

This is usually asked to workaround a certain problem which isn't elaborated about at all.
Better elaborate here about the actual problem and ask how to solve it.

Changing the client environment and user experience is a bad practice. Think twice about it.

At any way, the real solutions for the common problems for which this workaround is "invented" are the PRG pattern and disabling of the response caching and in some cases just robustly written code at server side.
I agree. Here's the link:
subject: javascript for disable back button
Similar Threads
Browser Back Button
how to diable browser back button
Disable the functionality of the back button in all browsers.
Log Out Problem
JSP login/logout session problem