On Mon, 2007-10-08 at 07:05 -0700, nzaghini wrote:
> Hi,
> i have a problem with https and cookies based sessioning system.
There is no difference between plain http or https as far as the cookie
based state management is concerned.
> I've just added the following line of code to my component exploiting
> httpclient
>
> Protocol easyhttps = new Protocol("https",
> EasySSLProtocolSocketFactory(), 443);
> Protocol.registerProtocol("https", easyhttps);
>
> All the classes used here comes from the httpclient home site.
>
> What i need, and it works fine without ssl, is to make several request with
> the same HttpState obejct to let the session go ahead..
>
> So, while i try to invoke the executeMethod several times like this:
>
> int statusCode = client.executeMethod(client.getHostConfiguration(), method,
> state);
> int statusCode = client.executeMethod(client.getHostConfiguration(), method,
> state);
> int statusCode = client.executeMethod(client.getHostConfiguration(), method,
> state);
>
> the state obect (instance of HttpState class) always chage,
Why does it always change?
Oleg
> so i cannot go
> ahead in the application session and all the time i'm in the same situation.
>
> Thanks million for your help!
> nicola
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]