/** Loads the session from the backing. */ public SessionArrayValue loadSession(Env env, String sessionId) { long now = env.getCurrentTime(); SessionArrayValue session = _sessionManager.getSession(env, sessionId, now); if (session == null) session = _sessionManager.createSession(env, sessionId, now); return session; }
public void close() { _isClosed = true; _sessionManager.close(); _pageManager.close(); if (_envTimeoutThread != null) _envTimeoutThread.shutdown(); if (_quercusTimer != null) { _quercusTimer.shutdown(); } }
/** Removes the session from the backing. */ public void destroySession(String sessionId) { _sessionManager.removeSession(sessionId); }
/** Saves the session to the backing. */ public void saveSession(Env env, SessionArrayValue session) { _sessionManager.saveSession(env, session); }