Is there a way to have access to session in a AJAX call made to a JAVA server.
On the server, the request
object has both the session
and cookies
properties NULL
.
I can pass though the session id as a parameter, but how can I access the session by ID?
Edit
Using session.getSession(false);
returns null
, while session.getSession(true);
obviously returns a new session, with another id.