JSP communicates with the clients using stateless HTTP protocol. For each new request, following operations are performed:
• A new connection is opened with web server.
• Server does not record client information.
In this topic, we will focus on the different ways of handling and maintaining session information. Following are the 3 main ways for session maintaining.
• Cookies: A cookies also known as session ID is assigned to a web client by the