When changing a session ID, use the internal add cookie method in the same way as...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 30 Mar 2010 21:01:02 +0000 (21:01 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 30 Mar 2010 21:01:02 +0000 (21:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@929284 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/connector/Request.java

index f343338..d184342 100644 (file)
@@ -2284,7 +2284,7 @@ public class Request
             Cookie newCookie =
                 ApplicationSessionCookieConfig.createSessionCookie(context,
                         newSessionId, secure);
-            response.addCookie(newCookie);
+            response.addCookieInternal(newCookie);
         }
     }