SessionHandlerInterface
interface SessionHandlerInterface (View source)
SessionHandler Interface
PHP 5.3 compatibility for PHP 5.4's \SessionHandlerInterface
Methods
bool
close()
Close the session
bool
destroy(int $id)
Destroy a session
bool
gc(int $maxlifetime)
Cleanup old sessions
bool
open(string $savePath, string $id)
Initialize session
string
read(string $id)
Read session data
bool
write(string $id, string $data)
Write session data
Details
at line line 26
bool
close()
Close the session
at line line 36
bool
destroy(int $id)
Destroy a session
at line line 47
bool
gc(int $maxlifetime)
Cleanup old sessions
at line line 58
bool
open(string $savePath, string $id)
Initialize session
at line line 69
string
read(string $id)
Read session data
at line line 84
bool
write(string $id, string $data)
Write session data