From: markt Date: Tue, 30 Mar 2010 21:01:02 +0000 (+0000) Subject: When changing a session ID, use the internal add cookie method in the same way as... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0a46dacc4859b23625c98d23b025f95ce2b9f694;p=tomcat7.0 When changing a session ID, use the internal add cookie method in the same way as when first creating a session cookie. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@929284 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/connector/Request.java b/java/org/apache/catalina/connector/Request.java index f343338a1..d18434264 100644 --- a/java/org/apache/catalina/connector/Request.java +++ b/java/org/apache/catalina/connector/Request.java @@ -2284,7 +2284,7 @@ public class Request Cookie newCookie = ApplicationSessionCookieConfig.createSessionCookie(context, newSessionId, secure); - response.addCookie(newCookie); + response.addCookieInternal(newCookie); } }