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]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


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

Reply via email to