tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abraham Liu <Abrah...@acsfss.com>
Subject RE: back button
Date Wed, 02 May 2001 19:58:34 GMT
Hi greg,
Thank you for a wondful idea. 
ABe liu

-----Original Message-----
From: Greg Chakmakian [mailto:gregchak@mac.com]
Sent: Monday, April 30, 2001 2:23 PM
To: tomcat-user@jakarta.apache.org; mwollenhaupt@web.de
Subject: RE: back button


You can also trick it with some JavaScript.  When the user goes back check
to see if there is anything in the browser's forward history (i.e.
history(1) or something like that, I don't remember the exact syntax).  If
there is something in the forward history then just do a
location.href="someurl.jsp" redirect to the page you want them to go to.
That might be a work-around.  Total speculation here because I've never
tried this before, but I don't see why it wouldn't work.

-greg





-----Original Message-----
From: Wolle [mailto:wolle@dorf.RWTH-Aachen.DE]
Sent: Monday, April 30, 2001 5:02 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: back button


Hei ,
that can't you block explicit,
you could only check, when you create the Page (wich comes up when you press
the back button), if some record is in use already, and then redirect to the
prefered site.

Greetings,
Michael


Abraham Liu wrote:

> Hi,
> How can  I  do something so user can't click "back button" for some
> particular pages. Ex. user can't click "back button" to go back to the
> confirm page to insert record again.
> I know it is off-topic. But I think lots of gurus in this list know how to
> do. Please help me.
> Thanks
> Abe Liu


Mime
View raw message