The session timeout is strictly a function of a servlet container you are using. Most of them listen to web.xml session-timeout property in session-config section. Look up web.xml syntax on the web. This has nothing to do with tapestry.
On Mar 25, 2012, at 8:51 PM, harry <superha...@gmail.com> wrote: > Dear Tapestry community, > > I am wondering what's the best practice to change default session timeout > interval. Specifically, I'd like to shorten it. The older discussions in > the mailing list seem to be either out-dated or not on point. > > I have been using the ApplicationStateManager (with the default strategy of > session storage) to handle User objects. The storage time is a lot longer > than I intend it to be. > > The setMaxInactiveInterval() method on org.apache.tapestry5.services.Session > looks appealing, but I am not sure about /how/ and /when/ to invoke it, if > it is indeed the right method to use. > > Any help will be greatly appreciated. Thank you. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Change-default-session-timeout-interval-tp5594150p5594150.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