DatabaseDriver
class DatabaseDriver implements SessionHandlerInterface (View source)
Traits
Methods
__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
Details
__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