protected function SessionProxy_Backend_Default::sessionSetHandlers in Session Proxy 7        
                          
                  
                        
2 calls to SessionProxy_Backend_Default::sessionSetHandlers()
  - SessionProxy_Backend_Default::destroy in lib/SessionProxy/Backend/Default.php
- Destroy session if any
- SessionProxy_Backend_Default::__construct in lib/SessionProxy/Backend/Default.php
- Default constructor.
File
 
   - lib/SessionProxy/Backend/Default.php, line 61
Class
  
  - SessionProxy_Backend_Default 
- Default implementation relies on a custom storage engine.
Code
protected function sessionSetHandlers() {
  if (FALSE === session_set_save_handler(array(
    $this->storage,
    'open',
  ), array(
    $this->storage,
    'close',
  ), array(
    $this->storage,
    'read',
  ), array(
    $this,
    'writeProxy',
  ), array(
    $this,
    'destroyProxy',
  ), array(
    $this->storage,
    'gc',
  ))) {
    throw new Exception(__METHOD__ . ': unable to register the session handler');
  }
}