HI all... Thankx 4 taking a look at my question If i set the session=true in the JSP which is default...and then in the body of the jsp take the session from the request using session = request.getSession(false); will it imply that the false has no meaning becaust the session has already been made true.. does this mean that getSession(false) will never return a null but always a valid session. Thanks, Kaustubh.
Kaustubh. Mumbai, India.
Peter den Haan
posted 15 years ago
Yes, because the JSP translator has already constructed a statement like HttpSession session = request.getSession(); that executes before the start of your page. - Peter