| java.lang.Object net.homeip.donaldm.httpdbase4j.SimpleSessionManager
SimpleSessionManager | public class SimpleSessionManager (Code) | | |
clearSession | public static void clearSession(long sessionId)(Code) | | Delete a session.
Parameters: sessionId - The session id for the session |
getNextSessionId | public static long getNextSessionId()(Code) | | The next available session id |
getSessionVariable | public static Object getSessionVariable(long sessionId, String varName)(Code) | | Get a session variable.
Parameters: sessionId - The session id for the session Parameters: varName - The name of the session variable The value of the session variable varName or nullif no such session or no such variable |
getSimpleSessionManager | public static SimpleSessionManager getSimpleSessionManager()(Code) | | Return the single SimpleSessionManager instance.
The singleton SimpleSessionManager instance |
removeSessionVariable | public static Object removeSessionVariable(long sessionId, String varName)(Code) | | Delete a session variable.
Parameters: sessionId - The session id for the session Parameters: varName - The name of the session variable The value of the session variable varName or nullif no such session or no such variable |
setSessionVariable | public static void setSessionVariable(long sessionId, String varName, Object value)(Code) | | Set a session variable.
Parameters: sessionId - The session id for the session Parameters: varName - The name of the session variable Parameters: value - The variable value |
|
|