Sr.Java Web Developer Question:
Download Questions PDF

Do you know what are the different methods of session management in servlets?

Answer:

Session is a conversational 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

Download Sr.Java Web Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Can you name the different modules of the Spring framework?Explain me what is JDBC ResultSetMetaData interface?