Re: Zone update and inactive timeout

2016-11-11 Thread .. ...
Thanks both of you. I used Christian Riedel suggestion and it worked like a charm. Vavricka On Thu, Nov 10, 2016 at 10:55 AM, Cezary Biernacki wrote: > The problem is caused by AJAX polling, and it is not specific to Tapestry, > but to how Java servlet containers manage sessions. I had similar

Re: Zone update and inactive timeout

2016-11-10 Thread Cezary Biernacki
The problem is caused by AJAX polling, and it is not specific to Tapestry, but to how Java servlet containers manage sessions. I had similar one (AJAX polling with Jetty) and IIRC I solved it by implementing my own SessionHandler and SessionManager classes (subclassing and replacing ones provided b

Re: Zone update and inactive timeout

2016-11-10 Thread Christian Riedel
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 .. ... : > > Hi, > > I am using tapest

Zone update and inactive timeout

2016-11-10 Thread .. ...
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 i