One of hundreds of answers available with our premium content service.
A: When you first request a session through the HttpServletRequest object, the servlet container manages the creation and storage of a reference to the HttpSession object. If a subsequent request is received that corresponds with an existing session object, the HttpServletRequest getSession() method will return the session object created in the first request.
… full answer hidden
Premium members click below for full answer
Is the session ID stored in the servlet or container?