You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by pe...@apache.org on 2006/03/04 23:20:07 UTC
svn commit: r383212 - in /tomcat/container/tc5.5.x/modules:
cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java
ha/src/share/org/apache/catalina/ha/session/DeltaSession.java
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org