This repository was archived by the owner on Feb 12, 2023. It is now read-only.

Description
I wanted to prevent users from getting the sessionID and using them on non logged in browsers. I have added the following
req.getSession(false).setMaxInactiveInterval(1); // To prevent session hijacking.
snippet here to discard cookies after one second.
This seems to be working fine but I don't know the side effects of this approach. Anything else that I can do here?