I am developing a widset that its server side is a tomcat.
I am performing http requests to the server from the widset and needs the server to maintain the session per user.
So I am using the jsessionid mechanism, sending it from the server to the widset client, and now on put it on the url so the server will bind the request to the correct session.
BUT, I found that if I am trying to concatenate the jsession id to the url the request arrives to my server after some encoding, and the server claims that he cant find the page (404)
client code before http requests:
url = url + ";jsessionid=" + m_sessionId;
this is what I get in the server logs:
18.104.22.168 - - [26/Feb/2009:16:18:01 +0200] "GET /context/ccc%3Bjsessionid%3D259B71F64DEC9523F60A74EB8CABB9CF?la=en&updates=1&ar=1 HTTP/1.1" 404 - "-" "Jakarta Commons-HttpClient/3.0.1"
as you can see this is what I got on server:
and this is what I sent from client:
is there a correct way doing it from widsets api?