PHP 클래스 Horde_SessionHandler_Storage_Sql, horde
Uses the following SQL table structure:
CREATE TABLE horde_sessionhandler (
VARCHAR(32) NOT NULL,
session_lastmodified INT NOT NULL,
session_data LONGBLOB,
-- Or, on some DBMS systems:
-- session_data IMAGE,
PRIMARY KEY (session_id)
);
CREATE INDEX session_lastmodified_idx ON horde_sessionhandler (session_lastmodified);
Copyright 2002-2016 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
파일 보기
프로젝트 열기: horde/horde
보호된 프로퍼티들
프로퍼티 |
타입 |
설명 |
|
$_db |
Horde_Db_Adapter |
Handle for the current database connection. |
|
공개 메소드들
메소드 상세
public __construct ( array $params = [] ) |
$params |
array |
Parameters:
'db' - (Horde_Db_Adapter) [REQUIRED] The DB instance.
'table' - (string) The name of the sessions table.
DEFAULT: 'horde_sessionhandler'
|
public gc ( $maxlifetime = 300 ) |
public open ( $save_path = null, $session_name = null ) |
public write ( $id, $session_data ) |
프로퍼티 상세
Handle for the current database connection.
protected Horde_Db_Adapter $_db |
리턴 |
Horde_Db_Adapter |
|