getSession « Request « JSP-Servlet Q&A





1. details of request.getSession() statement?    stackoverflow.com

I understand that if we use the following statement

HttpSession session = request.getSession();
Will create the Unique session id, Create Cookie and associate Cookie with the Session id. and helps the container to keep ...

2. Problem with request.getSession    stackoverflow.com

I have a servlet LogMeOut.java where I am writing the following code:

HttpSession session = request.getSession(false);
if (session != null){
   //statements to delete my cookies //
   session.invalidate();
}
My problem is ...

3. HTTP session Vs Request.getSession()    coderanch.com

4. request.getSession()    coderanch.com

5. Request.getSession(false) in JSP    coderanch.com

6. request.getSession(false)    coderanch.com