dear friends, I didn't find how to set the session timeout less than 1 min in BlazeDS, web.xml 's timeout at least 1 min , how can I set the time less than 1 min , thanks a lot.
A:
You can set the session timeout in the web.xml:
<session-config>
<session-timeout>1</session-timeout>
</session-config>
However the value is in minutes. So I don't think you can go below 1 minute.
James Ward
2009-09-17 12:09:53
You can set the session timeout in codee.g.session.setMaxInactiveInterval(1); // 1 sec
Peter Lee
2009-09-21 04:09:37
A:
You may try HttpSession's setMaxInactiveInterval(), for instance in sessionCreated() method in custom HttpSessionListener (you can specify your listener class in web.xml)
janekw
2009-09-29 10:34:40