ApcHandler
class ApcHandler extends AbstractHandler (View source)
APC session storage handler for PHP
Methods
Constructor
Test to see if the SessionHandler is available.
Read the data for a particular session identifier from the SessionHandler backend.
Write session data to the SessionHandler backend.
Destroy the data for a particular session identifier in the SessionHandler backend.
PHP >= 5.4.0
Cleanup old sessions
Re-initializes existing session, or creates a new one.
Closes the current session.
Details
at line line 28
__construct(array $options)
Constructor
in AbstractHandler at line line 40
mixed
register()
register
at line line 45
static boolean
isSupported()
Test to see if the SessionHandler is available.
at line line 60
string
read(string $id)
Read the data for a particular session identifier from the SessionHandler backend.
at line line 75
bool
write(string $id, string $session_data)
Write session data to the SessionHandler backend.
at line line 89
bool
destroy(int $id)
Destroy the data for a particular session identifier in the SessionHandler backend.
at line line 110
bool
gc(int $maxlifetime)
PHP >= 5.4.0
Cleanup old sessions
at line line 125
bool
open(string $savePath, string $sessionName)
Re-initializes existing session, or creates a new one.
at line line 137
bool
close()
Closes the current session.