Interface for Session handlers. Custom session handler classes should implement this interface as it allows CakeSession know how to map methods to session_set_save_handler()
Run the Garbage collection on the session storage. This method should vacuum all expired or dead sessions.
destroy( integer $id )
Method called on the destruction of a session.
$id
gc( integer $expires null )
Run the Garbage collection on the session storage. This method should vacuum all expired or dead sessions.
$expires
optional null read( string $id )
Method used to read from a session.
$id
write( integer $id , mixed $data )
Helper function called on write for sessions.
$id
$data
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/2.8/class-CakeSessionHandlerInterface.html