Bug #11643 Updated: SID redefined
| From: | hholzgra@php.net | Date: | Mon, 25 Jun 2001 20:38:08 +0000 |
| Subject: | Bug #11643 Updated: SID redefined | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57956@lists.php.net to get a copy of this message | ||
ID: 11643
Updated by: hholzgra
Reported By: zork@pablosoft.com.pl
Old-Status: Assigned
Status: Analyzed
Bug Type: *Session related
Operating system:
PHP Version: 4.0 Latest CVS (2001-06-24)
Assigned To: hholzgra
Comments:
i've already noticed and fixed this,
but my current session.c has conflicts
i ahve to resolve before checkin ...
Previous Comments:
---------------------------------------------------------------------------
[2001-06-24 13:10:03] zork@pablosoft.com.pl
session_destroy() and session_register() both defines the same symbol. When I set:
error_reporting = E_ALL
in php.ini file I got warning:
Warning: Constant sid already defined in /home/sites/home/users/zork/web/report/sid.php on line 5
in this saple code:
<?
$foo = 2;
session_start();
session_destroy();
session_register("foo");
session_register("bar");
?>
On web: http://biuro.pablosoft.com.pl/~zork/report/sid.php
Zork
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11643&edit=2