Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Can tomcat send out event about persistent connection being closed?

M M

2007-02-26

Replies:

I am using Tomcat 5.5 and I would like to bind the HttpSession lifecycle with its underlying persistent connection lifecycle. Partically, if the persistent connection is closed due to connectionTimeout or client program exits, I would like to invalid the client's HttpSession, and if the HttpSession timeout, I would like to close the persistent connection too.

I know the APIs to control the HttpSession lifecycle, but I am wondering if there is any API in Tomcat to allow me to control the lifecycle of the underlying persistent connection.

Your help is greatly appreciated.

Monica



____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.