or you can add the following snippet to your web.xml: <session-config> <session-timeout>TIME_IN_MINUTES</session-timeout> </session-config>
cheers, Michael Am 21.10.2013 um 16:34 schrieb francois meillet <francois.meil...@gmail.com>: > HttpSession httpSession = ((ServletWebRequest) > RequestCycle.get().getRequest()).getContainerRequest().getSession(); > httpSession.setMaxInactiveInterval(timeOut); > > François > > > On Mon, Oct 21, 2013 at 4:12 PM, Martin Grigorov <mgrigo...@apache.org>wrote: > >> >> http://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/1.6/api/javax/servlet/http/HttpSession.html#setMaxInactiveInterval(int) >> >> >> On Mon, Oct 21, 2013 at 4:44 PM, <christoph.ma...@t-systems.com> wrote: >> >>> Hello, >>> >>> in my application i have set the errorpage for expired pages like this: >>> >>> getApplicationSettings().setPageExpiredErrorPage(Timeout.class); >>> >>> Now I want to make the time until the application expires configurable. >>> How can I do this? Can I set this in the WicketApplication.init()? >>> >>> >>> Mit freundlichen Grüßen >>> Christoph Manig >>> Systems Engineer >>> >>> T-Systems International GmbH >>> Systems Integration - SC Travel, Transport & Logistics >>> Hoyerswerdaer Str. 18 >>> 01099 Dresden >>> tel.: +49 (0) 351 / 8152 - 188 >>> fax: +49 (0) 351 / 8152 - 209 >>> email: christoph.ma...@t-systems.com >>> >>> >>> >>> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org