Hi,
i have a problem with https and cookies based sessioning system.
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, 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
-- 
View this message in context: 
http://www.nabble.com/problem-with-https-and-cookies-based-session-tf4588385.html#a13097295
Sent from the HttpClient-User mailing list archive at Nabble.com.


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

Reply via email to