You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/12/09 10:47:59 UTC

svn commit: r1718794 - /tomcat/trunk/java/org/apache/catalina/connector/Request.java

Author: markt
Date: Wed Dec  9 09:47:59 2015
New Revision: 1718794

URL: http://svn.apache.org/viewvc?rev=1718794&view=rev
Log:
Follow-up to r1713618.
- clean up comment
- remove line that always restored requested session ID

Modified:
    tomcat/trunk/java/org/apache/catalina/connector/Request.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/Request.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/Request.java?rev=1718794&r1=1718793&r2=1718794&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/connector/Request.java (original)
+++ tomcat/trunk/java/org/apache/catalina/connector/Request.java Wed Dec  9 09:47:59 2015
@@ -2840,7 +2840,7 @@ public class Request implements HttpServ
              * multiple web applications on the same host. Typically this is
              * used by Portlet implementations. It only works if sessions are
              * tracked via cookies. The cookie must have a path of "/" else it
-             * won't be provided to for requests to all web applications.
+             * won't be provided for requests to all web applications.
              *
              * Any session ID provided by the client should be for a session
              * that already exists somewhere on the host. Check if the context
@@ -2865,7 +2865,6 @@ public class Request implements HttpServ
                 if (!found) {
                     sessionId = null;
                 }
-                sessionId = getRequestedSessionId();
             }
         } else {
             sessionId = null;



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