Sr.Java Web Developer Question:
Download Job Interview Questions and Answers 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
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 Question | Next Question |
Can you name the different modules of the Spring framework? | Explain me what is JDBC ResultSetMetaData interface? |