session_destroy() fails after call to session_regenerate_id()
| Bug #36872 | session_destroy() fails after call to session_regenerate_id() | ||||
|---|---|---|---|---|---|
| Submitted: | 2006-03-27 13:30 UTC | Modified: | 2006-04-17 23:30 UTC | ||
| From: | chris at dented-planet dot net | Assigned: | sas (profile) | ||
| Status: | Closed | Package: | Session related | ||
| PHP Version: | 5.1.2 | OS: | mac os x 10.3.9 | ||
| Private report: | No | CVE-ID: | None | ||
[2006-03-27 13:30 UTC] chris at dented-planet dot net
Description: ------------ Calling session_destroy() after call to session_regenerate_id() results in the failed session destruction and the following warning: Warning: session_destroy() [function.session-destroy]: Session object destruction failed... If I remove the call to session_regenerate() then session_destroy() works correctly. Reproduce code: --------------- <?php ob_start() session_start(); //some code session_regenerate_id(true); //some code session_destroy(); ob_end_flush(); ?> Expected result: ---------------- Session should be destroyed Actual result: -------------- Warning: session_destroy() [function.session-destroy]: Session object destruction failed...
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2006-03-28 14:10 UTC] mike@php.net
[2006-04-17 23:30 UTC] iliaa@php.net