session_destroy() gives warning after session_regenerate_id()
[2006-08-08 09:09 UTC] 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
[2006-08-08 14:57 UTC] iliaa@php.net
[2006-08-08 19:25 UTC] dhrubab at gmail dot com
[2006-08-08 19:41 UTC] dhrubab at gmail dot com
[2006-08-08 19:43 UTC] dhrubab at gmail dot com
[2006-08-08 19:45 UTC] dhrubab at gmail dot com