You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bi...@apache.org on 2003/01/18 04:29:03 UTC

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/session SessionId.java

billbarker    2003/01/17 19:29:03

  Modified:    src/share/org/apache/tomcat/modules/session SessionId.java
  Log:
  Fix session cookie for MSIE/Mac.
  
  Reported by: Costin
  
  Revision  Changes    Path
  1.22      +2 -2      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.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- SessionId.java	31 Oct 2002 06:24:59 -0000	1.21
  +++ SessionId.java	18 Jan 2003 03:29:03 -0000	1.22
  @@ -367,9 +367,9 @@
   	// the only one supported by all browsers
   	StringBuffer buf = new StringBuffer();
   	buf.append( "JSESSIONID=" ).append( reqSessionId );
  -	buf.append( ";Path=" ).append(  sessionPath  );
  +	buf.append( "; Path=" ).append(  sessionPath  );
   	if( secureCookie && rrequest.isSecure() ) {
  -	    buf.append(";Secure");
  +	    buf.append("; Secure");
   	}
   	response.addHeader( "Set-Cookie",
   			    buf.toString());
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>