classe DatabaseDriver implémente SessionHandlerInterface (Voir la source)

Traits

Méthodes

__construct(array $options, string $ip)

Database constructor

bool
close()

Close the session handling

bool|void
destroy(string $session_id)

Destroy session information

bool|void
gc(int $max_lifetime)

Garbage collector for cleans old sessions

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

When the session start

string|void
read(string $session_id)

Read the session information

bool
write(string $session_id, string $session_data)

Write session information

Détails

__construct(array $options, string $ip)

Database constructor

Paramètres

array $options
string $ip

bool close()

Close the session handling

Valeur de retour

bool

bool|void destroy(string $session_id)

Destroy session information

Paramètres

string $session_id

Valeur de retour

bool|void

bool|void gc(int $max_lifetime)

Garbage collector for cleans old sessions

Paramètres

int $max_lifetime

Valeur de retour

bool|void

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

When the session start

Paramètres

string $save_path
string $name

Valeur de retour

bool|void

string|void read(string $session_id)

Read the session information

Paramètres

string $session_id

Valeur de retour

string|void

bool write(string $session_id, string $session_data)

Write session information

Paramètres

string $session_id
string $session_data

Valeur de retour

bool