tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfarc...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session StandardSession.java
Date Fri, 03 Oct 2003 01:53:17 GMT
jfarcand    2003/10/02 18:53:17

  Modified:    catalina/src/share/org/apache/catalina/session
                        StandardSession.java
  Log:
  We also need to call the listener when the session is invalidated because we can't predict
the interval between the time the session is marked invalid and the StandardrMmanager expires
the session.
  
  Revision  Changes    Path
  1.24      +5 -5      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/StandardSession.java
  
  Index: StandardSession.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/StandardSession.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- StandardSession.java	2 Oct 2003 17:10:54 -0000	1.23
  +++ StandardSession.java	3 Oct 2003 01:53:17 -0000	1.24
  @@ -587,7 +587,7 @@
               long timeNow = System.currentTimeMillis();
               int timeIdle = (int) ((timeNow - lastAccessedTime) / 1000L);
               if (timeIdle >= maxInactiveInterval) {
  -                this.isValid = false;
  +                expire(true);
               }
           }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message