Re: Session Timeout in Tapestry
For an example see http://jumpstart.doublenegative.com.au/jumpstart/examples/infrastructure/protectingpages Cheers, Geoff On 12/12/2012, at 11:01 PM, mateen wrote: > Could you show me how to write a request filter in Tapestry > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Session-Timeout-in-Tapestry-tp5718632p5718639.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-mail: users-h...@tapestry.apache.org > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Session Timeout in Tapestry
Could you show me how to write a request filter in Tapestry -- View this message in context: http://tapestry.1045711.n5.nabble.com/Session-Timeout-in-Tapestry-tp5718632p5718639.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-mail: users-h...@tapestry.apache.org
Re: Session Timeout in Tapestry
On Wed, 12 Dec 2012 08:33:46 -0200, mateen wrote: How can i set the Session Time out and redirect the user the login page, when a timeout occurs ? Setting the session time is a web.xml configuration, completely separated from Tapestry. Redirecting to the login page automatically can be done in a couple different ways. I'd recommend implementing a RequestFilter. I know in JSF i could centrally handle the session state from faces config file. How can i do this in Tapestry ? I guess few people in this mailing list know JSF, so asking how to do something from JSF in Tapestry won't help you get good answers. For example, now, what do you mean by "centrally handling the session state"? PS: faces-config.xml sucks very hard. -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Session Timeout in Tapestry
Session timeout is handled at the servlet level using session-timeout parameter in web.xml On Dec 12, 2012, at 4:03 PM, mateen wrote: > How can i set the Session Time out and redirect the user the login page, when > a timeout occurs ? I know in JSF i could centrally handle the session state > from faces config file. How can i do this in Tapestry ? > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Session-Timeout-in-Tapestry-tp5718632.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-mail: users-h...@tapestry.apache.org >