PHP 4.0 Bug #8908: SID and session_destroy()

From: Date: Thu, 25 Jan 2001 16:03:08 +0000
Subject: PHP 4.0 Bug #8908: SID and session_destroy()
Groups: php.dev 
Request: Send a blank email to php-dev+get-44992@lists.php.net to get a copy of this message
From: fabbro@conecta.it 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

« previous php.dev (#44992) next »