I wanted to understand how we can implement a safe logout method in a website. I am trying a logout page in jsp. Is destroying a session enough when the user clicks logout ? If it isn’t what are the steps necessary for the logout, to be a safe operation for the user ?
Share
Generally I’d say yes, but it depends on what other information you may be storing client-side. For example, if you have any cookies with sensitive information (hopefully you don’t) then you should clear those out as well.