Oleg you win your bet! Thanks million, now it works fine..
The really last last question is: there is a better way to do this? (i mean
instead of making the cast):
EasySSLProtocolSocketFactory epsf = new EasySSLProtocolSocketFactory();
Protocol easyhttps = new Protocol("https", (ProtocolSocketFactory)epsf,
443);
because the constructor:
public Protocol(String scheme,
SecureProtocolSocketFactory factory,
int defaultPort)
is deprecated..
Thanks again!
nicola
olegk wrote:
>
> On Thu, 2007-10-11 at 09:12 -0700, nzaghini wrote:
>> Hi Oleg,
>> this is what you asked me, of course running the same code just changing
>> protocol and port.
>>
>
> Nicola
>
> I bet your EasySSLProtocolSocketFactory does not implement
> SecureProtocolSocketFactory interface. No wonder HttpClient refuses to
> send secure cookies over a connection it considers insecure.
>
> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/problem-with-https-and-cookies-based-session-tf4588385.html#a13170949
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]