Shahed Ali wrote:
> 
> Hi,
> 
> Is there any way a java servlet can keep track (be notified via an event),
> when ever a new
> client session is created / destroyed ?
> 
> Thanks.

Just implement HttpSessionBindingListener in an object that is
added to all sessions when they are created. You will get a
call to either valueBound or valueUnbound with a HttpSessionBindingEvent


-- 
WBB - [EMAIL PROTECTED]
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

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

Reply via email to