You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2001/09/07 06:52:18 UTC
cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/session SessionIdGenerator.java
costin 01/09/06 21:52:18
Modified: src/share/org/apache/tomcat/modules/session
SessionIdGenerator.java
Log:
Usefull for debugging session creation.
Revision Changes Path
1.6 +1 -0 jakarta-tomcat/src/share/org/apache/tomcat/modules/session/SessionIdGenerator.java
Index: SessionIdGenerator.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/session/SessionIdGenerator.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- SessionIdGenerator.java 2001/08/21 05:38:24 1.5
+++ SessionIdGenerator.java 2001/09/07 04:52:18 1.6
@@ -145,6 +145,7 @@
if( state==ServerSession.STATE_NEW ) {
String jsIdent=req.getJvmRoute();
String newId=createNewId( jsIdent );
+ if(debug>0) log("Generate new session id " + newId );
sess.getId().setString( newId );
}
return state;