diff options
-rw-r--r-- | lib/private/Session/Internal.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/Session/Internal.php b/lib/private/Session/Internal.php index b465bcd3eda..9d2b2dacf66 100644 --- a/lib/private/Session/Internal.php +++ b/lib/private/Session/Internal.php @@ -123,7 +123,14 @@ class Internal extends Session { } try { + $oldId = $this->getId(); @session_regenerate_id($deleteOldSession); + $newId = $this->getId(); + $this->logger->debug('Regenerated session ID', [ + 'oldId' => $oldId, + 'newId' => $newId, + 'deleteOldSession' => $deleteOldSession, + ]); } catch (\Error $e) { $this->trapError($e->getCode(), $e->getMessage()); } |