Koha::Session - Session class for Koha
use Koha::Session; my $session = Koha::Session->get_session({ sessionID => $sessionID});
This simple class exposes some basic methods for managing user sessions.
my $session = Koha::Session->get_session({ sessionID => $sessionID});
Given a session ID, retrieves the CGI::Session object used to store the session's state. The session object can be used to store data that needs to be accessed by different scripts during a user's session.
If the $sessionID
parameter is an empty string, a new session will be created.