CI_Session_driver::_get_lock PHP Method

_get_lock() protected method

A dummy method allowing drivers with no locking functionality (databases other than PostgreSQL and MySQL) to act as if they do acquire a lock.
protected _get_lock ( string $session_id ) : boolean
$session_id string
return boolean
    protected function _get_lock($session_id)
    {
        $this->_lock = TRUE;
        return TRUE;
    }

Usage Example

 protected function _get_lock($session_id)
 {
     return parent::_get_lock($session_id);
 }
All Usage Examples Of CI_Session_driver::_get_lock