Re: Handling session expiry

2010-01-19 Thread Klaus Kopruch
NTEXT_NAME > -- View this message in context: http://old.nabble.com/Handling-session-expiry-tp27177262p27223034.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsu

Re: Handling session expiry

2010-01-19 Thread P . Stavrinides
" To: "Tapestry users" Sent: Tuesday, 19 January, 2010 11:21:56 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Handling session expiry On Tue, Jan 19, 2010 at 10:15 AM, Klaus Kopruch wrote: > > Thanks a lot! > > How can I access a T5 service from session

Re: Handling session expiry

2010-01-19 Thread Massimo Lusetti
On Tue, Jan 19, 2010 at 10:15 AM, Klaus Kopruch wrote: > > Thanks a lot! > > How can I access a T5 service from sessionDestroyed() ? As i said from my first reply get the Registry from the ServletContext, it is stored there under TapestryFilter.REGISTRY_CONTEXT_NAME Cheers -- Massimo http://me

Re: Handling session expiry

2010-01-19 Thread Klaus Kopruch
); > } > > /** @see HttpSessionListener#sessionDestroyed(HttpSessionEvent) */ > public void sessionDestroyed(HttpSessionEvent event) { > //your logic here >} > > > and bobs your uncle! > Peter > -- View this message in context:

Re: Handling session expiry

2010-01-15 Thread Thiago H. de Paula Figueiredo
On Fri, 15 Jan 2010 13:08:50 -0200, Klaus Kopruch wrote: In javax.servlet.http.HttpSession or org.apache.tapestry5.services.Session? Tapestry's Session is just a facade around the HttpSession. Thus, setting some attribute in Session makes it be set in the HttpSession too. -- Thiago H.

Re: Handling session expiry

2010-01-15 Thread Klaus Kopruch
://old.nabble.com/Handling-session-expiry-tp27177262p27178554.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands

Re: Handling session expiry

2010-01-15 Thread Peter Stavrinides
, 2010 16:44:28 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Handling session expiry On Fri, 15 Jan 2010 12:40:24 -0200, Massimo Lusetti wrote: > On Fri, Jan 15, 2010 at 3:34 PM, Thiago H. de Paula Figueiredo > wrote: > >> T5 doesn't, but the Servlet API has

Re: Handling session expiry

2010-01-15 Thread Klaus Kopruch
ntext: http://old.nabble.com/Handling-session-expiry-tp27177262p27178413.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-m

Re: Handling session expiry

2010-01-15 Thread Klaus Kopruch
Tx, I'll play with it. -- View this message in context: http://old.nabble.com/Handling-session-expiry-tp27177262p27178359.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Handling session expiry

2010-01-15 Thread Thiago H. de Paula Figueiredo
On Fri, 15 Jan 2010 12:40:24 -0200, Massimo Lusetti wrote: On Fri, Jan 15, 2010 at 3:34 PM, Thiago H. de Paula Figueiredo wrote: T5 doesn't, but the Servlet API has. Create an HttpSessionBindingListener implementation and add it to the Session. Its valueUnbound() method will be invoked

Re: Handling session expiry

2010-01-15 Thread Massimo Lusetti
On Fri, Jan 15, 2010 at 3:34 PM, Thiago H. de Paula Figueiredo wrote: > T5 doesn't, but the Servlet API has. Create an HttpSessionBindingListener > implementation and add it to the Session. Its valueUnbound() method will be > invoked when the session is invalidated. Actually HttpSessionBindingLi

Re: Handling session expiry

2010-01-15 Thread Thiago H. de Paula Figueiredo
On Fri, 15 Jan 2010 12:25:16 -0200, Klaus Kopruch wrote: Hello, Hi! can someone pls give me some hints how to handle user session expirations without writing much boilerplate code? I'd like to send a special session expiry page. Has T5 a mechanism for that? T5 doesn't, but the Servlet A

Re: Handling session expiry

2010-01-15 Thread Massimo Lusetti
On Fri, Jan 15, 2010 at 3:25 PM, Klaus Kopruch wrote: > can someone pls give me some hints how to handle user session expirations > without writing much boilerplate code? I'd like to send a special session > expiry page. Has T5 a mechanism for that? Implement one of the listeners, for ex HttpSes

Handling session expiry

2010-01-15 Thread Klaus Kopruch
Hello, can someone pls give me some hints how to handle user session expirations without writing much boilerplate code? I'd like to send a special session expiry page. Has T5 a mechanism for that? Thx, Klaus -- View this message in context: http://old.nabble.com/Handling-session-e