Wombat::SessionManager - internal session manager interface
This interface specifies a component that manages a pool of Sessions for a Container.
Return the Container for which this SessionManager manages Sessions.
Set the Container for which this SessionManager manages Sessions.
Parameters:
the Wombat::Container
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
Return the display name of this SessionManager. Subclasses MUST override this method.
Add this Session to the set of active Sessions for this SessionManager.
the Wombat::Session to be added
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.
Throws:
if a new Session cannot be created for, any reason
Return the active Session managed by this SessionManager with the specified id, or undef if no session exists with that id or if the session is not valid.
undef
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.
Wombat::Container, Wombat::Session
Brian Moseley, bcm@maz.org
To install Wombat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wombat
CPAN shell
perl -MCPAN -e shell install Wombat
For more information on module installation, please visit the detailed CPAN module installation guide.