ID:               36872
 Updated by:       [EMAIL PROTECTED]
 Reported By:      chris at dented-planet dot net
-Status:           Open
+Status:           Assigned
 Bug Type:         Session related
 Operating System: mac os x 10.3.9
 PHP Version:      5.1.2
-Assigned To:      
+Assigned To:      sas


Previous Comments:
------------------------------------------------------------------------

[2006-03-28 14:10:40] [EMAIL PROTECTED]

Adding 
>>VCWD_ACCESS(buf, F_OK) == 0<< to 
>>VCWD_UNLINK(buf) == -1)<< in mod_files' DESTROY function fixes the
warning, but the old session file still lingers around.


------------------------------------------------------------------------

[2006-03-27 13:30:46] 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...


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36872&edit=1

Reply via email to