class FileSessionHandler implements SessionHandlerInterface, SessionUpdateTimestampHandlerInterface (View source)

Session save handler that stores session data in the filesystem as defined by session.save_path ini configuration.

Similar to PHP's default filesystem session handler, except it doesn't lock the session file meaning sessions are non-blocking.

Constants

SESSION_FILE_PREFIX

Methods

public
bool
close()

No description

public
bool
destroy(string $id)

No description

public
int|false
gc(int $max_lifetime)

No description

public
bool
open(string $path, string $name)

No description

public
string|false
read(string $id)

No description

public
bool
write(string $id, string $data)

No description

public
bool
validateId(string $id)

No description

public
bool
updateTimestamp(string $id, string $data)

No description

Details

bool close()

No description

Return Value

bool

bool destroy(string $id)

No description

Parameters

string $id

Return Value

bool

int|false gc(int $max_lifetime)

No description

Parameters

int $max_lifetime

Return Value

int|false

bool open(string $path, string $name)

No description

Parameters

string $path
string $name

Return Value

bool

string|false read(string $id)

No description

Parameters

string $id

Return Value

string|false

bool write(string $id, string $data)

No description

Parameters

string $id
string $data

Return Value

bool

bool validateId(string $id)

No description

Parameters

string $id

Return Value

bool

bool updateTimestamp(string $id, string $data)

No description

Parameters

string $id
string $data

Return Value

bool