CI_Session_files_driver =============== CodeIgniter Session Files Driver * Class name: CI_Session_files_driver * Namespace: * Parent class: [CI_Session_driver](CI_Session_driver.md) * This class implements: [SessionHandlerInterface](SessionHandlerInterface.md) Properties ---------- ### $_save_path protected string $_save_path Save path * Visibility: **protected** ### $_file_handle protected resource $_file_handle File handle * Visibility: **protected** ### $_file_path protected resource $_file_path File name * Visibility: **protected** ### $_file_new protected boolean $_file_new File new flag * Visibility: **protected** ### $_config protected mixed $_config * Visibility: **protected** ### $_fingerprint protected boolean $_fingerprint Data fingerprint * Visibility: **protected** ### $_lock protected mixed $_lock = FALSE Lock placeholder * Visibility: **protected** ### $_session_id 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** Methods ------- ### __construct void CI_Session_driver::__construct(array $params) Class constructor * Visibility: **public** * This method is defined by [CI_Session_driver](CI_Session_driver.md) #### Arguments * $params **array** - <p>Configuration parameters</p> ### open mixed SessionHandlerInterface::open($save_path, $name) * Visibility: **public** * This method is defined by [SessionHandlerInterface](SessionHandlerInterface.md) #### Arguments * $save_path **mixed** * $name **mixed** ### read mixed SessionHandlerInterface::read($session_id) * Visibility: **public** * This method is defined by [SessionHandlerInterface](SessionHandlerInterface.md) #### Arguments * $session_id **mixed** ### write mixed SessionHandlerInterface::write($session_id, $session_data) * Visibility: **public** * This method is defined by [SessionHandlerInterface](SessionHandlerInterface.md) #### Arguments * $session_id **mixed** * $session_data **mixed** ### close mixed SessionHandlerInterface::close() * Visibility: **public** * This method is defined by [SessionHandlerInterface](SessionHandlerInterface.md) ### destroy mixed SessionHandlerInterface::destroy($session_id) * Visibility: **public** * This method is defined by [SessionHandlerInterface](SessionHandlerInterface.md) #### Arguments * $session_id **mixed** ### gc mixed SessionHandlerInterface::gc($maxlifetime) * Visibility: **public** * This method is defined by [SessionHandlerInterface](SessionHandlerInterface.md) #### Arguments * $maxlifetime **mixed** ### _cookie_destroy 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](CI_Session_driver.md) ### _get_lock 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](CI_Session_driver.md) #### Arguments * $session_id **string** ### _release_lock boolean CI_Session_driver::_release_lock() Release lock * Visibility: **protected** * This method is defined by [CI_Session_driver](CI_Session_driver.md)