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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to