Httpsession is per browser.Ideally should we reset the session variables on logout otherwise it will always be available for that Browser even user login again.Is that correct?
Httpsession is per browser.Ideally should we reset the session variables on logout otherwise it
Share
You can just invalidate the session by calling
HttpSession.invalidate()which will clear all the attributes as well as destroy the session itself.