[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    RE: back button
From:       "Greg Chakmakian" <gregchak () mac ! com>
Date:       2001-04-30 21:22:45
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic