hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hareesh babu <harees...@yahoo.co.in>
Subject Cookie Problem
Date Mon, 16 Feb 2004 11:21:06 GMT
Hi, 

I am working on xxxx website using apache commons
library of http client.

I was able to login into the xxxx website using my
code and not able navigate into xxxx website.

I was facing one problem with apache http client at
cookie assumption.

xxxx website is sending cookie like this way,
Set-Cookie:
usr2_xxxx_com=jzu,aa,czj,dm;path=/;domain=.xxxx.com;

But apache http client is dividing the cookie into 4.
"Cookie: usr2_xxx_com=jzu[\r][\n]"
"Cookie: aa=[\r][\n]"
"Cookie: czj=[\r][\n]"
"Cookie:
ON_VAT2=@@@@103556810351170501155924063287@@@@[\r][\n]"
"Cookie: dm=[\r][\n]"

So next when I send a new get method it sending the
xxxx website 4 cookies instead of one.

I am thinking due this problem I was not able to
navigate into xxxx website.

Http client lib i am working on
http://mirrors.xtria.com/apache/jakarta/commons/httpclient/source/commons-httpclient-2.0-rc3-src.zip

Suggest me if am thinking right.

Hareesh.

________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.

Go to: http://in.insurance.yahoo.com/licspecial/index.html

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message