PHP 클래스 Horde_SessionHandler_Storage_Memcache, horde

사용 중단: Use HashTable driver instead
저자: Rong-En Fan ([email protected])
저자: Michael Slusarz ([email protected])
상속: extends Horde_SessionHandler_Storage
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_id string Current session ID.
$_memcache Horde_Memcache Memcache object.
$_trackID string The ID used for session tracking.

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

Constructor.
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.

close() 공개 메소드

public close ( )

destroy() 공개 메소드

public destroy ( $id )

gc() 공개 메소드

public gc ( $maxlifetime = 300 )

getSessionIDs() 공개 메소드

public getSessionIDs ( )

open() 공개 메소드

public open ( $save_path = null, $session_name = null )

read() 공개 메소드

public read ( $id )

trackGC() 공개 메소드

Do garbage collection for session tracking information.
public trackGC ( )

write() 공개 메소드

public write ( $id, $session_data )

프로퍼티 상세

$_id 보호되어 있는 프로퍼티

Current session ID.
protected string $_id
리턴 string

$_memcache 보호되어 있는 프로퍼티

Memcache object.
protected Horde_Memcache $_memcache
리턴 Horde_Memcache

$_trackID 보호되어 있는 프로퍼티

The ID used for session tracking.
protected string $_trackID
리턴 string