The problem is that Tomcat does not know that the user has hit the "back"
button. You may want to add some script to the page to invalidate the context at
the user site or send a message to your servlet to invalidate the context when
the user goes back a page.

Robert S. Harper
801.265.8800 ex. 255

> -----Original Message-----
> From: Dale, Matt [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 16, 2004 10:54 AM
> To: Tomcat Users List
> Subject: RE: relogin question
> 
> 
> There is no way for tomcat to do this as its all at the client end. But (I
> think) you can use javascript to capture the event of moving away from your
> page and redirect to a page which invalidates your session.
> 
> I`m sure this has been asked before so searching the archives might yield some
> results.
> 
> Ta
> Matt
> 
> -----Original Message-----
> From: Daxin Zuo [mailto:[EMAIL PROTECTED]
> Sent: 16 July 2004 17:50
> To: Tomcat Users List
> Subject: relogin question
> 
> 
> I have a relogin problem.
> 
> 1) I am on the page P,
> 2) I click on the Home button of the browser,
> 3) and then I click back button on the browser. The page P is displayed
> again.
> 
> But at 3) we intend that the application asks for relogin. So after 2), the
> session should be expired. Does Tomcat have a nice way to do it? Any body
> has done it? Please help.
> Thank a lot.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to