public set (mixed $index, mixed $value)
Sets a session variable in an application context
$session->set('auth', 'yes');
Please login to continue.
Please login to continue.