Restore session timeout
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 13 Sep 2016 10:56:02 +0000 (10:56 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 13 Sep 2016 10:56:02 +0000 (10:56 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@9116 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

org.argeo.cms/src/org/argeo/cms/internal/kernel/WebCmsSessionImpl.java

index 614d16bcf353cd94e4a9161b1406a81272122880..f5203c940a556fbb0028c6e61be9c9c6d90757d2 100644 (file)
@@ -79,7 +79,7 @@ public class WebCmsSessionImpl implements WebCmsSession {
                public void cleanUp() {
                        try {
                                httpSession.setAttribute(HttpContext.AUTHORIZATION, null);
-                               //httpSession.setMaxInactiveInterval(1);
+                               httpSession.setMaxInactiveInterval(1);
                        } catch (Exception e) {
                                log.warn("Could not clean up " + sessionId, e);
                        }