I am trying create a simple "login" / "logout" page.
The server side is running Tomcat.
By following This Link, I successfully utilise the internal authentication mechanism of Tomcat to let user login.
But how can I implement the "logout" button? What should I do if the user click the "logout" button? How can I tell Tomcat that user wants to logout?