ID:               38377
 User updated by:  dhrubab at gmail dot com
 Reported By:      dhrubab at gmail dot com
 Status:           Closed
 Bug Type:         Session related
 Operating System: Linux
 PHP Version:      5.1.4
 Assigned To:      iliaa
 New Comment:

Was this bug marked as fixed simply because a previous bug of this kind
was marked as fixed or because you think this issue is really fixed in
5.1.4?  Kindly tell me which stable release this issue is fixed in.


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

[2006-08-08 14:57:42] [EMAIL PROTECTED]

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.



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

[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

Reply via email to