struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Slominski <bernhard.slomin...@zooplus.com>
Subject AW: AW: Disabling Back Button in IE
Date Wed, 22 Feb 2006 16:55:33 GMT
This problem is as old as the web browsers are, at the beginning browsers
and http were just there to display static pages, not for building
applications with it, so the back button was not a problem.
But you get serious problems with that when building applications.
But as Frank and Josh pointed, now matter what you do there is always a
posibility that you go back to the last page.

So my recommendation is also that you do a check on the server side, 
so e.g. when you press the "sumbmit order", delete the shopping cart in the
session, when the back button is prssed you realize the session shoping cart
is empty and issue a message "Your shooping cart is gone".
A pain, but no real way around it!

Bernhard

> -----Urspr√ľngliche Nachricht-----
> Von: Frank W. Zammetti [mailto:fzlists@omnytex.com]
> Gesendet: Mittwoch, 22. Februar 2006 17:43
> An: Struts Users Mailing List
> Cc: user@struts.apache.org
> Betreff: Re: AW: Disabling Back Button in IE
> 
> 
> Doesn't stop me from clicking my mouse wheel, which is mapped 
> to Back :)
> 
> Betreff: Re: Disabling Back Button in IE
> >>
> >> Can't (and shouldn't) be done. The closest you're likely to
> >> get it open your app in a popup window with no menu, though
> >> the user can still hit backspace. A better idea is to fix the
> >> (assumed) re-post issues in your application.
> >>
> >> -Josh
> >>
>> Hi
>> Anyone can tell how to disable the "Back" button in IE
>> through our Code.
>>

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


Mime
View raw message