#38377 [Opn->Asn]: session_destroy() gives warning after session_regenerate_id()

From: Date: Tue, 08 Aug 2006 11:56:04 +0000
Subject: #38377 [Opn->Asn]: session_destroy() gives warning after session_regenerate_id()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100511@lists.php.net to get a copy of this message
ID: 38377 Updated by: tony2001@php.net Reported By: dhrubab at gmail dot com -Status: Open +Status: Assigned Bug Type: Session related Operating System: Linux PHP Version: 5.1.4 -Assigned To: +Assigned To: iliaa Previous Comments: ------------------------------------------------------------------------ [2006-08-08 09:09:54] dhrubab at gmail dot com Description: ------------ If you call session_destroy() after calling session_regenerate_id() then it results in a warning. This should not be the case. My entire php configuration is at the following url as a static html file. http://static.dhruba.net/php/phpinfo.php.html Kindly help me fix this bug for the next 5.x release. Thanks. Reproduce code: --------------- session.php <?php session_start(); session_regenerate_id(); session_destroy(); ?> Expected result: ---------------- I expect to see nothing because it worked. Actual result: -------------- I see the following error message. Warning: session_destroy() [function.session-destroy]: Session object destruction failed in session.php on line 4 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38377&edit=1

« previous php.bugs (#100511) next »