class ArrayDriver implements SessionHandlerInterface (View source)

Traits

Methods

bool
close()

Close the session handling

bool
destroy(string $session_id)

Destroy session information

int|false
gc(int $max_lifetime)

Garbage collector

bool
open(string $save_path, string $session_id)

When the session start

string
read(string $session_id)

Read the session information

bool
write(string $session_id, string $session_data)

Write session information

Details

bool close()

Close the session handling

Return Value

bool

bool destroy(string $session_id)

Destroy session information

Parameters

string $session_id

Return Value

bool

int|false gc(int $max_lifetime)

Garbage collector

Parameters

int $max_lifetime

Return Value

int|false

bool open(string $save_path, string $session_id)

When the session start

Parameters

string $save_path
string $session_id

Return Value

bool

string read(string $session_id)

Read the session information

Parameters

string $session_id

Return Value

string

bool write(string $session_id, string $session_data)

Write session information

Parameters

string $session_id
string $session_data

Return Value

bool