Your description of your application isn't too clear but there are 2 ways in which a session can be "destroyed". Either when it times out, which would be after the time that you set either in your web.xml or with the setTimeout() method of the session. The second and what I think would be the best way in your circumstance is to call the invalidate() method of the session object during the users logout. This will remove the session.
Ta Matt -----Original Message----- From: Pradeep Chauhan [mailto:[EMAIL PROTECTED] Sent: 27 October 2004 07:26 To: Tomcat Users List Subject: Session Control Hi All, I have problem of too many session on my application in proudction. Breif about application : My application is for Call center which interact with 4-5 Diff other applications. So for 1 user there will be more then 1 session created which increase the load on server. I want when some different application invoke my application after processing its request i will destory the session which is created by that application. Only My application session should remain live till the user is logged in. Rest session should get created and destroyed automatically. I remember there was one mail asking same question in different words. and some body replied use setTimeout(). I tried but didnt worked, can any one explain it more. Thanks & Regards, Pradeep Chauhan
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]