Classes

Class CakeSession

Session class for Cake.

Cake abstracts the handling of sessions. There are several convenient methods to access session information.
This class is the implementation of those methods. They are mostly used by the Session Component.

Helper method to set an internal error message.

Set the host name

Setup the Path variable

Helper method to start a session

Tests that the user agent is valid and that the session hasn't 'timed out'.
Since timeouts are implemented in CakeSession it checks the current self::$time
against the time the session is set to expire. The User agent is only checked
if Session.checkAgent == true.

Parameters

Returns

Tests that the user agent is valid and that the session hasn't 'timed out'.
Since timeouts are implemented in CakeSession it checks the current self::$time
against the time the session is set to expire. The User agent is only checked
if Session.checkAgent == true.