Hi All,
I want to invalidate HttpSession in my java file.
I used invalidate function.
But still session is not getting killed.
My code is:
HttpSession oldSession = request.getSession();
System.out.println("SESSION1" + oldSession);
oldSession.invalidate();
HttpSession newSession = request.getSession(true);
System.out.println("SESSION2" + newSession);
newsession prints the same old session id.
Thanks in advance.
