tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amy Roh <amy...@apache.org>
Subject wrong timeIdel value in StandardSession
Date Tue, 27 Apr 2004 01:07:36 GMT
The following patch causes regression where sessions don't expire when it
should.  I have a test app that does refresh every 70 sec.  When I set
timeout to 2 minute - the session *never* expires.

cvs diff -r 1.26 -r 1.27 StandardSession.java

587c587
<             int timeIdle = (int) ((timeNow - lastAccessedTime) / 1000L);
---
>             int timeIdle = (int) ((timeNow - thisAccessedTime) / 1000L);

I propose to revert the patch.

Thanks,
Amy


---------------------------------------------------------------------
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