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

Sorry my last comment was made before I got tony's last message.


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

[2006-08-08 19:41:49] dhrubab at gmail dot com

For the record I am aware of the previous bug reported for 5.1.2
below.

http://bugs.php.net/bug.php?id=36872

However I am reporting for 5.1.4 where the problem still exists.  I
will await feedback as to which version this is fixed in.  Thanks.

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

[2006-08-08 19:39:59] [EMAIL PROTECTED]

http://news.php.net/php.cvs/39842

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

[2006-08-08 19:25:51] dhrubab at gmail dot com

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.

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

[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