Re: Redirect when session is destroyed

2010-09-26 Thread Thiago H. de Paula Figueiredo
On Sun, 26 Sep 2010 11:53:44 -0300, kamath_svk wrote: As we know if session is expired "sessionDestroyed" method is called by tapestry. This method is not called by Tapestry, but by the servlet container (server). (Please refer the code) http://eubauer.de/kingsware/2010/02/04/track-log

Re: Redirect when session is destroyed

2010-09-26 Thread kamath_svk
Thiago H. de Paula Figueiredo wrote: > > If inside a page, check the page navigation page in the documentation. > I was not referring to redirecting from page. As we know if session is expired "sessionDestroyed" method is called by tapestry. (Please refer the code) http://eubauer.de/kingsware/

Re: Redirect when session is destroyed

2010-09-22 Thread Thiago H. de Paula Figueiredo
On Wed, 22 Sep 2010 05:51:44 -0300, kamath_svk wrote: I am new to tapestry so can you please tell me how to use dispatcher using some example?? There are many examples in this mailing list archives and in the wiki. Reading the Dispatcher JavaDoc also helps. most importantly, i want to

Re: Redirect when session is destroyed

2010-09-22 Thread P . Stavrinides
this list you will get a better response when you show your code. Cheers, Peter - Original Message - From: "kamath_svk" To: users@tapestry.apache.org Sent: Wednesday, 22 September, 2010 11:51:44 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Redirect when sessi

Re: Redirect when session is destroyed

2010-09-22 Thread kamath_svk
I am new to tapestry so can you please tell me how to use dispatcher using some example?? most importantly, i want to know how to Redirect to some other page!! Kristian Marinkovic wrote: > > provide a Dispatcher that checks whether your AppModule.USER_LOGGED_IN > attribute is available from

Re: Redirect when session is destroyed

2010-09-22 Thread Kristian Marinkovic
you can't redirect from a SessionListener as it is called by the servlet container and does not involve any user interaction. provide a Dispatcher that checks whether your AppModule.USER_LOGGED_IN attribute is available from the current HttpSession; if it is not redirect the current request t