Harden ZHU wrote:

> Hi,
>
> Can I catch the event when a session is created from tomcat?
>
> Thx
>
> Harden

in:
http://www.javaworld.com/javaworld/jw-01-2001/jw-0126-servletapi_p.html

...
The session listener model is similar to the context listener model. In
the session model, there's an
HttpSessionListener interface with two methods:
void sessionCreated(HttpSessionEvent e): Called when a session is
created
void sessionDestroyed(HttpSessionEvent e): Called when a session is
destroyed (invalidated)
...



j.h.   :-) :-):-) :-):-)



Reply via email to