Merge branch '4.3' into 4.4

This commit is contained in:
Robbie Averill 2020-01-16 19:59:24 -08:00
commit 26e3b6f4e3

View File

@ -225,9 +225,7 @@ class Session
if (isset($this->data['HTTP_USER_AGENT'])) {
if ($this->data['HTTP_USER_AGENT'] !== $this->userAgent($request)) {
$this->clearAll();
$this->destroy();
$this->started = false;
$this->start($request);
$this->restart($request);
}
}
}
@ -240,7 +238,7 @@ class Session
public function restart(HTTPRequest $request)
{
$this->destroy();
$this->init($request);
$this->start($request);
}
/**
@ -368,6 +366,7 @@ class Session
// http://nz1.php.net/manual/en/function.session-destroy.php
unset($_SESSION);
$this->data = null;
$this->started = false;
}
/**