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();
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 5
0
 public function open($save_path, $session_name)
 {
     echo "Open\n";
     return parent::open($save_path, $session_name);
 }
Ejemplo n.º 6
0
 /**
  * {@inheritdoc }
  */
 public function open($savePath, $sessionName)
 {
     $this->active = (bool) $this->handler->open($savePath, $sessionName);
     return $this->active;
 }
Ejemplo n.º 7
0
 public function open($save_path, $session_id)
 {
     parent::open($save_path, $session_id);
     $this->session_start = time();
 }
Ejemplo n.º 8
0
 public function open($save_path, $session_id)
 {
     return parent::open(session_save_path(), $session_id);
 }
Ejemplo n.º 9
0
 public function open($save_path, $session_id)
 {
     parent::open($save_path, $session_id);
     $this->counter++;
 }
Ejemplo n.º 10
0
 public function open($path, $name)
 {
     return parent::open($path, $name);
 }
 public function open($path, $name)
 {
     ++$this->i;
     return parent::open($path, $name);
 }