public function open($path, $name)
 {
     ++$this->i;
     echo 'Open ', session_id(), "\n";
     // This test was written for broken return value handling
     // Mimmick what was actually being tested by returning true here
     return null === parent::open();
 }
示例#2
0
<?php

ini_set('session.save_handler', 'files');
$x = new SessionHandler();
$x->open('', '');
$x->open('', '');
$x->open('', '');
$x->open('', '');
print "Done!\n";
 public function open($path, $name)
 {
     ++$this->i;
     echo 'Open ', session_id(), "\n";
     return parent::open($path, $name);
 }
示例#4
0
 /**
  * Open Session - retrieve resources
  *
  * @param string $savePath
  * @param string $name
  * @return bool
  */
 public function open($savePath, $name)
 {
     return $this->saveHandlerAdapter->open($savePath, $name);
 }
示例#5
0
文件: handler.php 项目: badlamer/hhvm
 public function open($save_path, $session_name)
 {
     echo "Open\n";
     return parent::open($save_path, $session_name);
 }
示例#6
0
 /**
  * {@inheritdoc }
  */
 public function open($savePath, $sessionName)
 {
     $this->active = (bool) $this->handler->open($savePath, $sessionName);
     return $this->active;
 }
 public function open($save_path, $session_id)
 {
     parent::open($save_path, $session_id);
     $this->session_start = time();
 }
示例#8
0
 public function open($save_path, $session_id)
 {
     return parent::open(session_save_path(), $session_id);
 }
示例#9
0
 public function open($save_path, $session_id)
 {
     parent::open($save_path, $session_id);
     $this->counter++;
 }
示例#10
0
 public function open($path, $name)
 {
     return parent::open($path, $name);
 }
 public function open($path, $name)
 {
     ++$this->i;
     return parent::open($path, $name);
 }