I have a problem. In my servlet in glassfish I call the method request.getSession(false). It should return null. But instead there is always a session returned.
Moreover, if I invalidate the session right before the call to getSession(false) – it returns null. It means something else creates the session!
What could that be?
The servlet is redirected from the .jsp page. I am using the glassfish.
I have a problem. In my servlet in glassfish I call the method request.getSession(false)
Share
Have you disabled the session in JSP? At the top of your jsp: