Property | Type | Description | |
---|---|---|---|
$fields | array | Stores session data results | |
$hs | HandlerSocket object | ||
$hsIndex | integer | HandlerSocket index number | |
$options | =====> (string) cookie_domain : the domain for which the cookie is valid. =====> (int) lifetime : session lifetime in seconds =====> (array) server : an array of mysql handlersocket server : 'host' => (string) : the name of the mysql handlersocket server 'port' => (int) : the port of the mysql handlersocket server 'dbname' => (string) : the database name of the mysql handlersocket server 'dbtable' => (string) : the table name of the mysql handlersocket server |
Method | Description | |
---|---|---|
__construct ( array $options = [] ) | Class constructor. | |
__destruct ( ) : void | Destructor | |
close ( ) : boolean | ||
destroy ( string $id ) : boolean | ||
gc ( integer $maxlifetime ) : boolean | ||
open ( string $save_path, string $name ) : boolean | ||
read ( string $id ) : string | ||
start ( array $options = [] ) : void | ||
write ( string $id, string $data ) : boolean |
Method | Description | |
---|---|---|
init ( array $options ) | Initialize HandlerSocket. |
public __construct ( array $options = [] ) | ||
$options | array | associative array of options |
protected HandlerSocket,Phalcon\Session\Adapter $hs | ||
return |
protected $options |