www.element4solution.com

e4s.servlet
Class E4SessionListener

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.servlet.E4SessionListener
Direct Known Subclasses:
sessionListener

public class E4SessionListener
extends E4Object

The session listener implements an interface provided by Apache/Tomcat servers to indicate that a session is terminated. This requires some additional deployment definitions in your web.xml file: Requires in the web.xml: <listener> <listener-class>e4s.servlet.sessionListener</listener-class> </listener>


Field Summary
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4SessionListener()
           
 
Method Summary
static java.util.Date firstSessionTime()
           
static int getNumberSessions()
           
static HttpSession getSession(java.lang.String id)
           
static HttpSession[] getSessions()
           
static int maxSessionCount()
           
static java.util.Date maxSessionTime()
           
 void sessionCreated(HttpSessionEvent sEvt)
           
 void sessionDestroyed(HttpSessionEvent sEvt)
           
 
Methods inherited from class e4s.util.E4Object
_getSVNVersionString, Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

E4SessionListener

public E4SessionListener()
Method Detail

sessionCreated

public void sessionCreated(HttpSessionEvent sEvt)

sessionDestroyed

public void sessionDestroyed(HttpSessionEvent sEvt)

getNumberSessions

public static int getNumberSessions()

maxSessionCount

public static int maxSessionCount()

maxSessionTime

public static java.util.Date maxSessionTime()

firstSessionTime

public static java.util.Date firstSessionTime()

getSession

public static HttpSession getSession(java.lang.String id)

getSessions

public static HttpSession[] getSessions()

www.element4solution.com