From 45ec4324926f306e51c234eb7b9451b1afc753a6 Mon Sep 17 00:00:00 2001 From: Claus-Justus Heine Date: Mon, 21 Feb 2022 00:04:47 +0100 Subject: Don't call session_start() when PHP session is still or already open. Signed-off-by: Claus-Justus Heine --- lib/private/Session/Internal.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/private') diff --git a/lib/private/Session/Internal.php b/lib/private/Session/Internal.php index 87dd5ed6014..cae139018f8 100644 --- a/lib/private/Session/Internal.php +++ b/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 = []; } -- cgit v1.2.3