hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Johnson ...@cehjohnson.uklinux.net>
Subject One cookie off
Date Mon, 06 Jun 2005 18:51:13 GMT
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


Mime
View raw message