The session helper.
Starts the session.
Session::start();
Checks if a session variable exists.
if (Session::exists('user_id')) { // Do something... }
Gets a variable that was stored in the session.
echo Session::get('user_id');
Returns the sessionID.
echo Session::getSessionId();
Stores a variable in the session.
Session::set('user_login', 'Awilum');
Deletes one or more session variables.
Session::delete('user_id');
Destroys the session.
Session::destroy();