session-timeout setting results different timeouts in different application servers
30 Nov 2011 14:08:02 GMT
27 Dec 2011 02:55:46 GMT
27 Dec 2011 02:55:46 GMT
Hi Yetkin,
It seems a bug, you can post a tracker
http://tracker.zkoss.org/secure/Dashboard.jspa
ZK - Open Source Ajax Java Framework
As I also mentioned in another thread "http://www.zkoss.org/forum/listComment/18061", we are using the combination of session-timeout and timer-keep-alive settings to time out a session as soon as the browser is closed.
In zk.xml, we set the session timeout to 20 seconds:
<session-config>
<session-timeout>20</session-timeout>
It means, we expect the session to be timed out after ~20 seconds, when the browser window is closed.
During our tests we got different results on different platforms:
- Tomcat: after 1 minute
- WebSphere cluster: after 2 minutes
- WebLogic cluster: after 45 seconds
We are now wondering how to interpret this result and why such differences exist. Do you have an idea?
Thanks,
Yetkin