PHP Class Horde_SessionHandler_Storage_File, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_SessionHandler_Storage
Show file Open project: horde/horde

Protected Properties

Property Type Description
$_fp resource File stream.

Public Methods

Method Description
__construct ( array $params = [] ) Constructor.
close ( )
destroy ( $id )
gc ( $maxlifetime = 300 )
getSessionIDs ( )
open ( $save_path = null, $session_name = null )
read ( $id )
write ( $id, $session_data )

Protected Methods

Method Description
_open ( string $id ) Open the file stream connection.

Method Details

__construct() public method

Constructor.
public __construct ( array $params = [] )
$params array Parameters:
path - (string) [REQUIRED] The path to save the files.

_open() protected method

Open the file stream connection.
protected _open ( string $id )
$id string The session ID.

close() public method

public close ( )

destroy() public method

public destroy ( $id )

gc() public method

public gc ( $maxlifetime = 300 )

getSessionIDs() public method

public getSessionIDs ( )

open() public method

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

read() public method

public read ( $id )

write() public method

public write ( $id, $session_data )

Property Details

$_fp protected property

File stream.
protected resource $_fp
return resource