Do not increment access counter.
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 14 Jun 2009 18:50:59 +0000 (18:50 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 14 Jun 2009 18:50:59 +0000 (18:50 +0000)
The valve updates access time, but it should not increment access counter without decrementing it.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@784602 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/valves/PersistentValve.java

index cfd867f..9dc9318 100644 (file)
@@ -137,6 +137,7 @@ public class PersistentValve
                             manager.add(session);
                             // ((StandardSession)session).activate();
                             session.access();
+                            session.endAccess();
                         }
                     }
                 }