This is a very simple PHP session library.
$session = new Session( [string $sessionId] );
// Include core session library
require_once 'class.Session.php';
// Initialize session object
$session = new Session();
Gets a session value.
$session->set( string $key, string $value );
// Store username into session
$session->set('username', 'seikan');
// Remove a session variable
$session->set('password', null);
Gets a session value by key.
string $session->get( string $key );
// Get username stored in session
$username = $session->get('username');
Destroys the entire session.
$session->destroy( );
$session->destroy();