tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28971] - problems if root-context and application-context sets cookies
Date Fri, 14 May 2004 11:22:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28971>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28971

problems if root-context and application-context sets cookies





------- Additional Comments From remm@apache.org  2004-05-14 11:22 -------
  Index: CoyoteAdapter.java
  ===================================================================
  RCS file:
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteAdapter.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- CoyoteAdapter.java	28 Apr 2004 22:05:10 -0000	1.25
  +++ CoyoteAdapter.java	14 May 2004 11:00:25 -0000	1.26
  @@ -295,6 +295,9 @@
               return false;
           }
   
  +        // Parse session Id
  +        parseSessionCookiesId(req, request);
  +
           return true;
       }
   
  @@ -352,6 +355,14 @@
               request.setRequestedSessionId(null);
               request.setRequestedSessionURL(false);
           }
  +
  +    }
  +
  +
  +    /**
  +     * Parse session id in URL.
  +     */
  +    protected void parseSessionCookiesId(Request req, CoyoteRequest request) {
   
           // Parse session id from cookies
           Cookies serverCookies = req.getCookies();

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message