Return-Path: Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 91501 invoked from network); 20 Apr 2003 12:37:51 -0000 Received: from mxout1.cac.washington.edu (140.142.32.134) by daedalus.apache.org with SMTP; 20 Apr 2003 12:37:51 -0000 Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.12.1+UW03.04/8.12.1+UW02.12) with ESMTP id h3KCbpRG028262 for ; Sun, 20 Apr 2003 05:37:51 -0700 Received: from u.washington.edu (pool-129-44-176-176.bos.east.verizon.net [129.44.176.176]) (authenticated bits=0) by smtp.washington.edu (8.12.1+UW03.04/8.12.1+UW02.12) with ESMTP id h3KCbo4s030198 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT) for ; Sun, 20 Apr 2003 05:37:51 -0700 Date: Sun, 20 Apr 2003 08:37:49 -0400 Subject: Re: Duplicated cookie bug? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Michael Becke To: "Commons HttpClient Project" Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Tom, A little more information would be helpful. In particular the full wire log of the headers for both the initial request and the resulting redirection would be good. Only one cookie with the same name/path/domain can exist within each instance of HttpState. Since both name and path seem to be the same in this case I would guess that the domains are different. That would lead me to wonder why cookies with different domain values are being sent to one server. A more complete wire log should be able to clear this up. Thanks, Mike On Saturday, April 19, 2003, at 05:41 PM, Tom Samplonius wrote: > > It seems that if redirect following is enabled, a request is > redirected, > cookies are duplicated on the followup request: > > 2003/04/19 16:20:54:107 PDT [DEBUG] wire - ->> "Cookie: $Version=0; > ASPSESSIONIDQQGQGOQK=FCCPFHHBOFMALJCGMEFKOPKC; $Path=/[\r][\n]" > 2003/04/19 16:20:54:107 PDT [DEBUG] wire - ->> "Cookie: $Version=0; > ASPSESSIONIDQQGQGOQK=FCCPFHHBOFMALJCGMEFKOPKC; $Path=/[\r][\n]" > 2003/04/19 16:20:54:127 PDT [DEBUG] wire - ->> "[\r][\n]" > > > I guess the cookie is added to the request object for the first > request, > and when the request is redirected, the cookie is added to the request > object again and re-sent. > > > Tom > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > commons-httpclient-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > commons-httpclient-dev-help@jakarta.apache.org >