You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dongsheng Song <do...@gmail.com> on 2005/07/08 08:17:11 UTC
Tomcat login & logout hook ?
Hello,
Can I hook a function after user login & before user logout ?
Dongsheng Song
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat login & logout hook ?
Posted by Michael Echerer <me...@tngtech.com>.
Dongsheng Song wrote:
> Hello,
>
> Can I hook a function after user login & before user logout ?
I assume that logout usually goes hand in hand with a session
invalidation, then Servlet 2.4. spec is your friend:
SRV.10.2.1 Event Types and Listener Interfaces
javax.servlet.http.HttpSessionListener
Cheers,
Michael
>
> Dongsheng Song
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org