|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-05-12 14:45 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
-Assigned To:
+Assigned To: cmb
[2020-05-12 14:45 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 21 08:00:02 2025 UTC |
Description: ------------ Calling SessionHandler::destroy() multiple times destroys only first session. Test script: --------------- // Basic setup. $handler = new \SessionHandler; session_set_save_handler($handler); session_start(); // Array of session IDs. $sessionsToDestroy = array( 'sessionId1', 'sessionId2', 'sessionId3', ); // Attempt to destroy the sessions. foreach ($sessionsToDestroy as $sessionId) { $handler->destroy($sessionId); } Expected result: ---------------- All passed sessions destroyed. Actual result: -------------- Only the first session is destroyed.