Browse Source

Don't call session_start() when PHP session is still or already open.

Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
Claus-Justus Heine 2 years ago
parent
commit
45ec432492
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/private/Session/Internal.php

+ 1 - 0
lib/private/Session/Internal.php

@@ -107,6 +107,7 @@ class Internal extends Session {
 		$this->reopen();
 		$this->invoke('session_unset');
 		$this->regenerateId();
+		$this->invoke('session_write_close');
 		$this->startSession(true);
 		$_SESSION = [];
 	}