Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 21308 invoked from network); 7 Jun 2005 11:06:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2005 11:06:18 -0000 Received: (qmail 30391 invoked by uid 500); 7 Jun 2005 11:06:17 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 30362 invoked by uid 500); 7 Jun 2005 11:06:16 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 30348 invoked by uid 99); 7 Jun 2005 11:06:16 -0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_40_50,HTML_MESSAGE,SPF_HELO_FAIL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of ROLWEBER@de.ibm.com designates 195.212.29.151 as permitted sender) Received: from mtagate2.de.ibm.com (HELO mtagate2.de.ibm.com) (195.212.29.151) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Jun 2005 04:06:13 -0700 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate2.de.ibm.com (8.12.10/8.12.10) with ESMTP id j57B5Dew160626 for ; Tue, 7 Jun 2005 11:05:13 GMT Received: from d12av04.megacenter.de.ibm.com (d12av04.megacenter.de.ibm.com [9.149.165.229]) by d12nrmr1607.megacenter.de.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j57B5CTa182962 for ; Tue, 7 Jun 2005 13:05:12 +0200 Received: from d12av04.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av04.megacenter.de.ibm.com (8.12.11/8.13.3) with ESMTP id j57B5C9r013287 for ; Tue, 7 Jun 2005 13:05:12 +0200 Received: from d12ml067.megacenter.de.ibm.com (d12ml067.megacenter.de.ibm.com [9.149.164.162]) by d12av04.megacenter.de.ibm.com (8.12.11/8.12.11) with ESMTP id j57B5CaJ013281 for ; Tue, 7 Jun 2005 13:05:12 +0200 In-Reply-To: <42A49B20.2020303@cehjohnson.uklinux.net> To: "HttpClient User Discussion" MIME-Version: 1.0 Subject: Re: One cookie off X-Mailer: Lotus Notes Release 6.5.3 September 14, 2004 From: Roland Weber X-MIMETrack: S/MIME Sign by Notes Client on Roland Weber/Germany/IBM(Release 6.5.3|September 14, 2004) at 07.06.2005 12:59:00, Serialize by Notes Client on Roland Weber/Germany/IBM(Release 6.5.3|September 14, 2004) at 07.06.2005 12:59:00, Serialize complete at 07.06.2005 12:59:00, S/MIME Sign failed at 07.06.2005 12:59:00: The cryptographic key was not found, Serialize by Router on D12ML067/12/M/IBM(Release 6.53HF247 | January 6, 2005) at 07/06/2005 13:05:12, Serialize complete at 07/06/2005 13:05:12 Message-ID: Date: Tue, 7 Jun 2005 13:05:10 +0200 Content-Type: multipart/alternative; boundary="=_alternative 003C55A0C1257019_=" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_alternative 003C55A0C1257019_= Content-Type: text/plain; charset="US-ASCII" Hello Charles, since you are using the compatibility cookie policy, my next guess would be that the expiration date in the cookie causes problems. Year 3000 is way after the expected 32 bit overflow for the milliseconds in 2037. Java uses 64 bit to store the milliseconds, but who knows... The double semicolon could also cause problems while parsing the cookie, though I'm not familiar with the code. Have you tried to enable logging for the cookie policy? hope that helps, Roland Charles Johnson 06.06.2005 20:51 Please respond to "HttpClient User Discussion" To HttpClient cc Subject One cookie off I'm fetching a page in a loop and seem to be receiving two cookies yet only seeing one of them appear in the array when i call getCookies. You can see a short extract of my log file here: http://www.sigma-software.freeserve.co.uk/misc/FILE_TO_UPLOAD This is what i'm doing in the code. 'client' is an instance variable. client.getState().clear(); client.executeMethod(method); cookies = client.getState().getCookies(); Why the discrepancy between the Set-Cookie headers and the number of cookies in the array? Policy is set to CookiePolicy.BROWSER_COMPATIBILITY --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org --=_alternative 003C55A0C1257019_=--