SE452: Sessions [5/16] ![]() ![]() ![]() |
In web applications, the concept of a session is used to put consecutive requests and responses in context
Implicit in a session are the following concepts:
The concept of session tracking allows stateful information to be stored on the server and associated with a specific client
Since HTTP is stateless, the identification of a specific session is needed in each request
This can be accomplished using:
Cookie sessionCookie = new Cookie("jsessionid", "1234");