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
destroy(string $session_id)

Destroy session information

bool
gc(int $max_lifetime)

Garbage collector for cleans old sessions

bool
open(string $save_path, string $name)

When the session start

string
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 destroy(string $session_id)

Destroy session information

Paramètres

string $session_id

Valeur de retour

bool

bool gc(int $max_lifetime)

Garbage collector for cleans old sessions

Paramètres

int $max_lifetime

Valeur de retour

bool

bool open(string $save_path, string $name)

When the session start

Paramètres

string $save_path
string $name

Valeur de retour

bool

string read(string $session_id)

Read the session information

Paramètres

string $session_id

Valeur de retour

string

bool write(string $session_id, string $session_data)

Write session information

Paramètres

string $session_id
string $session_data

Valeur de retour

bool