class ArrayDriver implements SessionHandlerInterface (View source)

Traits

Methods

bool
close()

Close the session handling

bool|void
destroy(string $session_id)

Destroy session information

bool|void
gc(int $max_lifetime)

Garbage collector

bool|void
open(string $save_path, string $session_id)

When the session start

string|void
read(string $session_id)

Read the session information

bool|void
write(string $session_id, string $session_data)

Write session information

Details

bool close()

Close the session handling

Return Value

bool

bool|void destroy(string $session_id)

Destroy session information

Parameters

string $session_id

Return Value

bool|void

bool|void gc(int $max_lifetime)

Garbage collector

Parameters

int $max_lifetime

Return Value

bool|void

bool|void open(string $save_path, string $session_id)

When the session start

Parameters

string $save_path
string $session_id

Return Value

bool|void

string|void read(string $session_id)

Read the session information

Parameters

string $session_id

Return Value

string|void

bool|void write(string $session_id, string $session_data)

Write session information

Parameters

string $session_id
string $session_data

Return Value

bool|void