Hi!
I have an Applet which communicates with a Servlet via HTTP-GET-Requests. The Server (Tomcat) shall check whether the session-id of the requestor belongs to a valid session.
In the client HTML-Page that contains the applet, I use JavaScript (alternatively JSP) to extract the sessionID and pass it to the Applet. The Applet then sends the ID as a GET-Parameter to the Servlet when doing a request.
I wanted to use the method
HttpSessionContext.getSession(String sessionId)
to get the corresponding session, but the Servlet API reference tells me this method ist deprecated without replacement. What else could I use to find out if the Applet belongs to a valid session?
Thanks
Rene