namespace App\Session\Drivers;
class DatabaseSessionDriver implements \SessionHandlerInterface
* Perform and opening/initialisation required for this driver
* Note: In most cases this can be empty
public function open ($save_path, $session_name) {}
* Perform and closing/shutdown required for this driver
* Note: In most cases this can be empty
public function close () {}
* Return a string of the data associated with $session_id
public function read ($session_id) {}
* Save the provided string data against $session_id
public function write ($session_id, $session_data) {}
* Remove any data associated with $session_id
public function destroy ($session_id) {}
* Remove all session data that is older than $maxlifetime
* Note: $maxlifetime is provided as a Unix timestamp
public function gc ($maxlifetime) {}