parent
a464e74aa4
commit
c5281935c6
|
@ -213,7 +213,9 @@ class PhpSession extends Session
|
||||||
public function refreshId()
|
public function refreshId()
|
||||||
{
|
{
|
||||||
$this->open();
|
$this->open();
|
||||||
session_regenerate_id();
|
if ($this->exists()) {
|
||||||
|
session_regenerate_id();
|
||||||
|
}
|
||||||
session_write_close();
|
session_write_close();
|
||||||
$this->hasBeenTouched = true;
|
$this->hasBeenTouched = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue