You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by jalal udeen <ja...@gmail.com> on 2007/05/08 07:25:52 UTC

disable back button

how to disable back button

RE: disable back button

Posted by Kapil Sharma <ka...@iap-online.com>.
Somewhere i found

Page A calls Page B

User should not be allowed to go to Page A from Page B.

Put the code below in Page A.

<Script>
window.history.forward(1);
</Script>

I have not tested it.

Thanks and Regards,
Kapil Sharma


-----Original Message-----
From: Antonio Petrelli [mailto:antonio.petrelli@gmail.com]
Sent: Tuesday, May 08, 2007 5:34 PM
To: Struts Users Mailing List
Subject: Re: disable back button


2007/5/8, Laurie Harper <la...@holoweb.net>:
>
> jalal udeen wrote:
> > how to disable back button
>
> Unplug the mouse... ;-)



Or paint an X on the back button on your monitor :-P
Anyway, if you google "disable back button" in google, you can find what you
need (or what you don't expect :-) )

Antonio



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: disable back button

Posted by Antonio Petrelli <an...@gmail.com>.
2007/5/8, Laurie Harper <la...@holoweb.net>:
>
> jalal udeen wrote:
> > how to disable back button
>
> Unplug the mouse... ;-)



Or paint an X on the back button on your monitor :-P
Anyway, if you google "disable back button" in google, you can find what you
need (or what you don't expect :-) )

Antonio

Re: disable back button

Posted by Laurie Harper <la...@holoweb.net>.
jalal udeen wrote:
> how to disable back button

Unplug the mouse... ;-)

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org