Wombat::SessionManager::SessionManagerBase - session manager base class
Minimal base implementation of Wombat::SessionManager.
This class supports no session persistence or distributable capabilities.
This class may be subclassed to create more sophisticated Manager implementations.
Subclasses MUST override
Construct and return a Wombat::SessionManager::SessionManagerBase instance, initializing fields appropriately. If subclasses override the constructor, they must be sure to call
Return the Container for which this SessionManager manages Sessions.
Set the Container for which this SessionManager manages Sessions.
Return the default maximum inactive interval in seconds for Sessions created by this SessionManager.
Set the default maximum inactive interval for Sessions created by this SessionManager.
the new interval, in seconds
Construct and return a Wombat::Session, based on the default settings specified by this SessionManager's fields. The session id will be assigned by this method.
if a new Session cannot be created for, any reason
Subclasses MUST override all of these methods.
Add this Session to the set of active Sessions for this SessionManager.
the Wombat::Session to be added
Return the display name of this SessionManager.
Return the active Session managed by this SessionManager with the specified id, or
undef if no session exists with that id.
the id for the Session to be returned
if the session exists but cannot be returned, for any reason
Return an array containing the active Sessions managed by this SessionManager.
Remove this Session from the active Sessions managed by this SessionManager.
the Wombat::Session to remove
Prepare for active use of this SessionManager. This method should be called before any of the public methods of the SessionManager are utilized.
if the SessionManager has already been started
Gracefully terminate active use of this SessionManager. Once this method has been called, no public methods of the SessionManager should be utilized.
if the SessionManager is not started
Brian Moseley, email@example.com