Skip to content

Commit 45ec432

Browse files
rotdropszaimen
authored andcommitted
Don't call session_start() when PHP session is still or already open.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
1 parent e63720b commit 45ec432

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/private/Session/Internal.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public function clear() {
107107
$this->reopen();
108108
$this->invoke('session_unset');
109109
$this->regenerateId();
110+
$this->invoke('session_write_close');
110111
$this->startSession(true);
111112
$_SESSION = [];
112113
}

0 commit comments

Comments
 (0)