The session tag

Overview

In Jeenius the session tag is used to gain access to the session data for the current user.

Tag Usage

 <jee:session/> 

Example

The following code shows an example of using this tag:  

<%@ taglib uri="jeenius" prefix="jee" %>

<jee:session/>

<p>User Name: <jsp:getProperty name="currentSession"property="userName"/></p>

<p>Session Token: <jsp:getProperty name="currentSession" property="sessionToken"/></p>