Author: pero Date: Sat Mar 4 14:20:06 2006 New Revision: 383212 URL: http://svn.apache.org/viewcvs?rev=383212&view=rev Log: revert getLastAccessTime change but now SSO not working :-(
Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java tomcat/container/tc5.5.x/modules/ha/src/share/org/apache/catalina/ha/session/DeltaSession.java Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java?rev=383212&r1=383211&r2=383212&view=diff ============================================================================== --- tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java (original) +++ tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java Sat Mar 4 14:20:06 2006 @@ -435,6 +435,12 @@ * value associated with the session, do not affect the access time. */ public long getLastAccessedTime() { + + if (!isValid()) { + throw new IllegalStateException(sm + .getString("standardSession.getId.ise")); + } + return (this.lastAccessedTime); } Modified: tomcat/container/tc5.5.x/modules/ha/src/share/org/apache/catalina/ha/session/DeltaSession.java URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/ha/src/share/org/apache/catalina/ha/session/DeltaSession.java?rev=383212&r1=383211&r2=383212&view=diff ============================================================================== --- tomcat/container/tc5.5.x/modules/ha/src/share/org/apache/catalina/ha/session/DeltaSession.java (original) +++ tomcat/container/tc5.5.x/modules/ha/src/share/org/apache/catalina/ha/session/DeltaSession.java Sat Mar 4 14:20:06 2006 @@ -437,7 +437,12 @@ * value associated with the session, do not affect the access time. */ public long getLastAccessedTime() { - return (this.lastAccessedTime); + + if (!isValid()) { + throw new IllegalStateException(sm + .getString("standardSession.getId.ise")); + } + return (this.lastAccessedTime); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]