-
Notifications
You must be signed in to change notification settings - Fork 0
CI_Session_database_driver
Mathieu Nayrolles edited this page Jan 20, 2016
·
1 revision
CodeIgniter Session Database Driver
- Class name: CI_Session_database_driver
- Namespace:
- Parent class: CI_Session_driver
- This class implements: SessionHandlerInterface
protected object $_db
DB object
- Visibility: protected
protected boolean $_row_exists = FALSE
Row exists flag
- Visibility: protected
protected string $_platform
Lock "driver" flag
- Visibility: protected
protected mixed $_config
- Visibility: protected
protected boolean $_fingerprint
Data fingerprint
- Visibility: protected
protected mixed $_lock = FALSE
Lock placeholder
- Visibility: protected
protected string $_session_id
Read session ID
Used to detect session_regenerate_id() calls because PHP only calls write() after regenerating the ID.
- Visibility: protected
void CI_Session_driver::__construct(array $params)
Class constructor
- Visibility: public
- This method is defined by CI_Session_driver
- $params array - <p>Configuration parameters</p>
mixed SessionHandlerInterface::open($save_path, $name)
- Visibility: public
- This method is defined by SessionHandlerInterface
- $save_path mixed
- $name mixed
mixed SessionHandlerInterface::read($session_id)
- Visibility: public
- This method is defined by SessionHandlerInterface
- $session_id mixed
mixed SessionHandlerInterface::write($session_id, $session_data)
- Visibility: public
- This method is defined by SessionHandlerInterface
- $session_id mixed
- $session_data mixed
mixed SessionHandlerInterface::close()
- Visibility: public
- This method is defined by SessionHandlerInterface
mixed SessionHandlerInterface::destroy($session_id)
- Visibility: public
- This method is defined by SessionHandlerInterface
- $session_id mixed
mixed SessionHandlerInterface::gc($maxlifetime)
- Visibility: public
- This method is defined by SessionHandlerInterface
- $maxlifetime mixed
boolean CI_Session_driver::_get_lock(string $session_id)
Get lock
A dummy method allowing drivers with no locking functionality (databases other than PostgreSQL and MySQL) to act as if they do acquire a lock.
- Visibility: protected
- This method is defined by CI_Session_driver
- $session_id string
boolean CI_Session_driver::_release_lock()
Release lock
- Visibility: protected
- This method is defined by CI_Session_driver
boolean CI_Session_driver::_cookie_destroy()
Cookie destroy
Internal method to force removal of a cookie by the client when session_destroy() is called.
- Visibility: protected
- This method is defined by CI_Session_driver