Hi Vavricka,

every time you poll the server the session timeout is reset.
You could track real user activity on your own in the browser using some js and 
issue a logout request after 30 minutes or so...

Cheers
Christian


> Am 10.11.2016 um 09:26 schrieb .. ... <vavricka.to...@gmail.com>:
> 
> Hi,
> 
>  I am using tapestry 5.4.1 together with jetty 9.2.14.v20151106.
> 
>  I want to set inactive timeout. When users is doing nothing application
> should logout after some time.
>  I set timeout by setting
> webapp.getSessionHandler().getSessionManager().setMaxInactiveInterval(30)
> to 30 seconds. Zone in webpage updates every 5 seconds. With these settings
> session was unable to timeout.
> 
> When I set maxInactiveInterval to one second, session expires as expected.
> 
>  Is there any way to have larger timeout than zone update interval?
> 
>  Vavricka


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to