top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are different methods of session management in servlets?

0 votes
498 views
What are different methods of session management in servlets?
posted Sep 15, 2017 by Pooja Singh

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Session is a conversional state between client and server and it can consists of multiple request and response between client and server. Since HTTP and Web Server both are stateless, the only way to maintain a session is when some unique information about the session (session id) is passed between server and client in every request and response.

Some of the common ways of session management in servlets are:

User Authentication
HTML Hidden Field
Cookies
URL Rewriting
Session Management API

answer Sep 16, 2017 by Ayush Srivastav
...