mgi.logme.util
Class SessionTracking

java.lang.Object
  extended bymgi.logme.util.SessionTracking
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionActivationListener, javax.servlet.http.HttpSessionListener, java.io.Serializable

public class SessionTracking
extends java.lang.Object
implements java.io.Serializable, javax.servlet.http.HttpSessionListener, javax.servlet.http.HttpSessionActivationListener

See Also:
Serialized Form

Constructor Summary
SessionTracking()
           
 
Method Summary
static void addVisitorSession()
           
static int getSessionCount()
           
static int getVisitorCount()
           
static int resetNewVisitCounter()
           
static void saveSession(javax.servlet.http.HttpSession userSession)
           
static void saveSessionData(javax.servlet.http.HttpSession userSession)
           
 void sessionCreated(javax.servlet.http.HttpSessionEvent se)
           
 void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
           
 void sessionDidActivate(javax.servlet.http.HttpSessionEvent se)
           
 void sessionWillPassivate(javax.servlet.http.HttpSessionEvent se)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionTracking

public SessionTracking()
Method Detail

saveSessionData

public static void saveSessionData(javax.servlet.http.HttpSession userSession)

saveSession

public static void saveSession(javax.servlet.http.HttpSession userSession)

sessionCreated

public void sessionCreated(javax.servlet.http.HttpSessionEvent se)
Specified by:
sessionCreated in interface javax.servlet.http.HttpSessionListener

sessionDestroyed

public void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
Specified by:
sessionDestroyed in interface javax.servlet.http.HttpSessionListener

sessionDidActivate

public void sessionDidActivate(javax.servlet.http.HttpSessionEvent se)
Specified by:
sessionDidActivate in interface javax.servlet.http.HttpSessionActivationListener

sessionWillPassivate

public void sessionWillPassivate(javax.servlet.http.HttpSessionEvent se)
Specified by:
sessionWillPassivate in interface javax.servlet.http.HttpSessionActivationListener

getSessionCount

public static int getSessionCount()

getVisitorCount

public static int getVisitorCount()

addVisitorSession

public static void addVisitorSession()

resetNewVisitCounter

public static int resetNewVisitCounter()