classe ArrayDriver implémente SessionHandlerInterface (Voir la source)

Traits

Méthodes

bool
close()

Close the session handling

bool
destroy(string $session_id)

Destroy session information

bool
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

Détails

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

Paramètres

int $max_lifetime

Valeur de retour

bool

bool open(string $save_path, string $session_id)

When the session start

Paramètres

string $save_path
string $session_id

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