mgi.logme.util
Class SessionTracking
java.lang.Object
mgi.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionTracking
public SessionTracking()
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()