public function close()
 {
     parent::close();
     if ($this->isCurrentSessionExceeded()) {
         $this->log->error(sprintf("[SessionLock] Session lock was held for %s seconds which is longer than the maximum of %s seconds. Request details: \n                SERVER_NAME     | %s \n                SERVER_ADDR     | %s \n                SCRIPT_FILENAME | %s \n                REQUEST_METHOD  | %s \n                SCRIPT_NAME     | %s \n                REQUEST_URI     | %s \n                QUERY_STRING    | %s ", $this->session_time, $this->max_session_time, $_SERVER['SERVER_NAME'], $_SERVER['SERVER_ADDR'], $_SERVER['SCRIPT_FILENAME'], $_SERVER['REQUEST_METHOD'], $_SERVER['SCRIPT_NAME'], $_SERVER['REQUEST_URI'], $_SERVER['QUERY_STRING']));
     }
 }
 public function close()
 {
     $id = session_id();
     if ($this->destroyed) {
         echo "(#{$this->num}) destroyed, cannot write\n";
     } else {
         echo "(#{$this->num}) closing {$id}\n";
     }
     return parent::close();
 }
 public function close()
 {
     $id = session_id();
     echo "(#{$this->num}) closing {$id}\n";
     return parent::close();
 }
示例#4
0
 public function close()
 {
     $this->unlock();
     return parent::close();
 }
 public function close()
 {
     ++$this->i;
     echo 'Close ', session_id(), "\n";
     return parent::close();
 }
 public function close()
 {
     return parent::close(false);
 }
示例#7
0
 /**
  * Close Session - free resources
  *
  * @return bool
  */
 public function close()
 {
     return $this->saveHandlerAdapter->close();
 }
示例#8
0
 /**
  * {@inheritdoc }
  */
 public function close()
 {
     $this->active = false;
     return (bool) $this->handler->close();
 }
 public function close()
 {
     var_dump($this->foo);
     @var_dump($GLOBALS['bar']);
     return parent::close();
 }