JSP session

tutorial and example
tutorial and example

In JSP, session object is used to establish a connection between a client and a server. It maintains the state between them so that server recognize the user easily.

The session object is an instance of servlet’s HttpSession interface. This object contains the user’s information and maintains the state till this session is active.