title: Where is JSESSIONID stored? (JavaEE)
body: <p>I have two applications - A Java EE web application and a Java SE applet. I want to authenticate a user in the applet by means of a JSESSIONID (which is created by the web application). </p>
  
  <p>So there is a problem - how to associate this JSESSIONID with a particular user?</p>
  
  <p>How to check (on the web server application side) which user is represented by such JSESSIONID? In the applet I will be reading it from a cookie, and then I want to write a simple Servlet which will accept this JSESSIONID as a POST message. Thereafter I would like to write in the response nothing at all when the JSESSIONID is bad, and the user info if JSESSIONID is good (i.e. is representing someone).</p>
  
  <p>Does anyone know how to do this?</p>