Thanks a lot!
How can I access a T5 service from sessionDestroyed() ?
P.Stavrinides wrote:
>
> Exactly, just set it in your web.xml:
>
> <listener-class>
> com.web.application.SessionListener
> </listener-class>
>
> And then in SessionListener:
>
> /** @see HttpSessionListener#sessionCreated(HttpSessionEvent) */
> public void sessionCreated(HttpSessionEvent event) {
> Logger.getLogger(getClass()).info(
> "Session created with id: " +
> event.getSession().getId());
> }
>
> /** @see HttpSessionListener#sessionDestroyed(HttpSessionEvent) */
> public void sessionDestroyed(HttpSessionEvent event) {
> //your logic here
> }
>
>
> and bobs your uncle!
> Peter
>
--
View this message in context:
http://old.nabble.com/Handling-session-expiry-tp27177262p27222811.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]