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/01 02:53:43 UTC
cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/session SessionId.java
costin 01/08/31 17:53:43
Modified: src/share/org/apache/tomcat/modules/session SessionId.java
Log:
More debug.
I'm adding this in order to provide enough trace information for eventual problems, it
helps a lot in debugging any problem and in making sure things run the way they should.
Revision Changes Path
1.14 +3 -0 jakarta-tomcat/src/share/org/apache/tomcat/modules/session/SessionId.java
Index: SessionId.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/session/SessionId.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- SessionId.java 2001/08/17 04:03:55 1.13
+++ SessionId.java 2001/09/01 00:53:43 1.14
@@ -182,6 +182,7 @@
sessionId= request.getRequestedSessionId();
sess=processSession( request, sessionId,
request.getSessionIdSource() );
+ if( debug>0 ) log("CookiesFirst==false, use url rewriting " + sess );
if( sess!=null )
return 0;
}
@@ -210,6 +211,7 @@
sessionId= request.getRequestedSessionId();
sess=processSession( request, sessionId,
request.getSessionIdSource() );
+ if( debug>0 ) log("Url rewriting, found " + sess );
if( sess!=null )
return 0;
}
@@ -307,6 +309,7 @@
buf.append( ";Path=" ).append( sessionPath );
response.addHeader( "Set-Cookie",
buf.toString());
+ if( debug>0) log( "Setting cookie " + buf );
return 0;
}