integer SESSION_DISABLED
integer SESSION_ACTIVE
public remove (mixed $index) Removes a session variable from an application context $session->remove('auth');
public regenerateId ([mixed $deleteOldSession])
public isStarted () Check whether the session has been started var_dump($session->isStarted());
public has (mixed $index) Check whether a session variable is set in an application context var_dump($session->has('auth'));
public getOptions () Get internal options
public getName () Get session name
public getId () Returns active session id echo $session->getId();
public get (mixed $index, [mixed $defaultValue], [mixed $remove]) Gets a session variable from an application context $session->get('auth', 'yes');
Page 38 of 382