why don't you just set it in web.xml? I don't think tapestry will
violate it.
δΊ 2012/3/26 9:51, harry ει:
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