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" <[EMAIL PROTECTED]>
>From: "Albert Caramia" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to