HttpSession

What is HttpSession

Server will create a independent HttpSession for each register user.

What does HttpSeesion do

When user first time visit the Servlet, the server will create a independent Session for user.
And generate an Session ID. This Session ID could be stored in explorer's cookie.
When user visit this Servlet next time, the request will bring the Session ID be sent.
Then server will check the Session Object with the Session ID.