Property | Type | Description | |
---|---|---|---|
$_id | string | Current session ID. | |
$_memcache | Horde_Memcache | Memcache object. | |
$_trackID | string | The ID used for session tracking. |
Method | Description | |
---|---|---|
__construct ( array $params = [] ) | Constructor. | |
close ( ) | ||
destroy ( $id ) | ||
gc ( $maxlifetime = 300 ) | ||
getSessionIDs ( ) | ||
open ( $save_path = null, $session_name = null ) | ||
read ( $id ) | ||
trackGC ( ) | Do garbage collection for session tracking information. | |
write ( $id, $session_data ) |
public __construct ( array $params = [] ) | ||
$params | array | Parameters:
'memcache' - (Horde_Memcache) [REQUIRED] A memcache object. 'track' - (boolean) Track active sessions? 'track_lifetime' - (integer) The number of seconds after which tracked sessions will be treated as expired. |
protected Horde_Memcache $_memcache | ||
return | Horde_Memcache |
protected string $_trackID | ||
return | string |