We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66cf3c5 commit 34c082aCopy full SHA for 34c082a
1 file changed
src/SimpleSAML/SessionHandlerPHP.php
@@ -265,6 +265,10 @@ public function loadSession(string $sessionId = null): ?Session
265
try {
266
$session = unserialize($session);
267
} catch (\Throwable $e) {
268
+ Logger::warning('Session load failed using unserialize().'
269
+ . 'If you have just upgraded this might be ok. '
270
+ . 'If not there might be an issue with your storage. '
271
+ . $e->getMessage());
272
$session = null; # sometimes deserializing fails, so we throw it away
273
}
274
return ($session !== false) ? $session : null;
0 commit comments