From: [EMAIL PROTECTED]
Operating system: Linux Slackware 7.0
PHP version: 4.0.3pl1
PHP Bug Type: *Session related
Bug description: SID and session_destroy()
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
--
Edit Bug report at: http://bugs.php.net/?id=8908&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]