I want to use hidden variables for session tracking. How can I get the session object? Since the Servlet API 2.1 there is no method request.getSession ( String sessionId )
In jsdk 2.1 there are two methods for getting session
1) HttpSession getSession(boolean create) Gets the current valid session associated with this request, if create is false or, if necessary, creates a new session for the request, if create is true.
[Yes, but that doesn't answer the question -- is there a way to get the session a priori without the server doing it automagically for you? -Alex]