Пример #1
0
 /**
  * Constructor, loads the database based session storage handler
  *
  * @param string $name The name of the session
  * @access public
  */
 public function __construct($name = null)
 {
     parent::__construct($name);
     session_set_save_handler(array(&$this, '_custom_open'), array(&$this, '_custom_close'), array(&$this, '_custom_read'), array(&$this, '_custom_write'), array(&$this, '_custom_destroy'), array(&$this, '_custom_gc'));
 }