Logout of session
843840Aug 31 2009 — edited Sep 1 2009I would like to create a logout link for my Tomcat 6.0.18 site.
I tried sending my links to a JSP with the below invalidate attempts and both did not clear the session.
session.invalidate() and session.getSession().invalidate()
Please advise and I assume my logout link should go to a servlet and not a JSP or even a JSTL?