The logout Tag

Overview

This tag logs the user out of the application by nulling out the Jeenius session cookie.

Tag usage

This tag has the following usage:

<jee:logout /> 

After this tag is executed the Jeenius Session cookie is nulled out and the user ID is unbound from the current Session.

Example

The following code shows an example of using this tag:  

<%@ taglib uri="jeenius" prefix="jee" %>
 <jee:logout/>  <html>  <head>
<title>Logged out</title>  </head>
  <body> <p>You have been logged out !</p>
 </body>  </html> < Return to the tag index >