How can I join a session with a given sessionId without using cookies? Assume I get the session from the HttpSessionContext passing the session Id.

Ravindra Babu katiki

It is better to use URL Rewriting. Generate a session id by your self and append that session id to the URL at the end.

For more details, see this site's FAQs for URL Rewriting in Servlet OR JSP section.

URL rewritng is better option for your case because Session uses cookies and without cookies you can not use sessionid.

[Still doesn't quite answer the question: is there a way to get the session a priori (if you know the session ID)? -Alex]
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact