Can anybody please explain?
I'm trying to figure out how I can create custom session cookies. I've found the Manager interface for creating the sessions, but there's nothing about the actual session cookie. I don't see anything in the Valve interface that will let me do this either. Is this possible in Tomcat 7 (or 8?).
I want to delete cookies whenever user is navigating away from my page.
Cookies should be cleaned when user delete tab/browser or user change URL and press enter. It should not be deleted when user press 'F5' or click other link in same page.