In Servlet API spec, which is in this moment in draft, is added the concept
of HttpSessionListener.
Using this you can receive events like SessionCreated and SessionDestroyed.
I try to use those events, but I didn't find any good documentation.

It's seems that, after you build a class that implements
HttpSessionListener, you need to specify this class in web.xml file.

Alin


----- Original Message -----
From: "William Kaufman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 3:56 PM
Subject: RE: SessionListener


> You mean HttpSessionBindingListener?  (I can't find any other reference to
> "Listener" in tomcat/conf/* or the JSDK 2.2 spec; nor can I find that
class
> in the Tomcat sources.)
>
> That's not related to web.xml, and I find it pretty easy to use.  What
> troubles are you having?
>
>                                                             -- Bill K.
>
> -----Original Message-----
> From: Alin Simionoiu [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 17, 2001 2:20 PM
> To: [EMAIL PROTECTED]
> Subject: SessionListener
>
>
> Does anybody use SessionListener?..
> I try to use this, but is absolutly an nightmare to put everithing in
place.
> I cannot find a very clear documentation about how the web.xml file should
> be set.
>
> Alin
>

Reply via email to