PHP 4.0 Bug #8908 Updated: SID and session_destroy()
| From: | sas@php.net | Date: | Fri, 16 Mar 2001 22:27:53 +0000 |
| Subject: | PHP 4.0 Bug #8908 Updated: SID and session_destroy() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49152@lists.php.net to get a copy of this message | ||
ID: 8908
Updated by: sas
Reported By: fabbro@conecta.it
Old-Status: Open
Status: Closed
Bug Type: *Session related
Assigned To:
Comments:
This will work properly in PHP 4.0.5. Thanks for your report.
Previous Comments:
---------------------------------------------------------------------------
[2001-01-25 11:03:08] fabbro@conecta.it
If I start a section and I ask for the destroy of the data
section, after writing a new section data SID value and
session_id () values doesen't match.
This happens, of course, if cookies are turned off.
Don't know if I don't understand what section_destroy stands
for.
Here is the code
<?php
// Turn cookies off
session_start ();
session_destroy ();
$test = 1;
session_register("test");
$ses = session_id ();
echo "$ses-<BR>";
echo SID."-<BR>";
?>
Best regards
Luca
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8908&edit=2