Hello Sushil,

> HttpClient client = new HttpClient();
>     client.getState().addCookie(new Cookie("localhost:8085","jsessionid",
> request.getSession().getId(), "app", null, false));

What is "request" here? Are you mixing up client and server side?
Have you read what our primer has to say about sessions?
http://wiki.apache.org/jakarta-httpclient/ForAbsoluteBeginners

Are you trying to share a session between the browser and
the server-side code that seems to be using HttpClient?
That is not possible.

cheers,
  Roland

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

Reply via email to