commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@bluewin.ch
Subject RE: [httpclient] session after autentication
Date Mon, 13 Oct 2003 14:10:52 GMT
Possible, but unlikely. The server would not have returned the authentication
cookies in the first place, I suspect. It will not hurt trying, though.

It looks like you may have to sniff on the requests generated by the browser
and see how they differ from those generated by HttpClient.

Oleg
 
>-- Original Message --
>Reply-To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
>From: "Albert Caramia" <a_caramia@hotmail.com>
>To: commons-user@jakarta.apache.org
>Subject: RE: [httpclient] session after autentication
>Date: Mon, 13 Oct 2003 16:04:09 +0200
>
>
>Hi,
>>
>>Now on the main problem. It is likely that the server has got issues with
>>RFC2109 compliant cookies used per default. Give compatibility cookie 
>>policy
>>a try. That may do the trick.
>>
>>HttpClient client = new HttpClient();
>>client.getState().setCookiePolicy(CookiePolicy.COMPATIBILITY);
>>
>>
>
>ok,I do but nothing changes.
>
>Maybe the server permit the access only to Internet Explorer and I must

>change the "User-Agent: Jakarta Commons-HttpClient/2.0rc1[\r][\n]"
>
>Albert
>
>_________________________________________________________________
>Tired of spam? Get advanced junk mail protection with MSN 8. 
>http://join.msn.com/?page=features/junkmail
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


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


Mime
View raw message