Re: info about ext/session bug #29322 Constant SID already defined

From: Date: Sat, 21 May 2005 03:09:35 +0000
Subject: Re: info about ext/session bug #29322 Constant SID already defined
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-16285@lists.php.net to get a copy of this message
reproducable script: <?php $_COOKIE[session_name()] = 'a'; session_start(); session_regenerate_id(); ?> $ ./sapi/cgi/php.exe -v PHP 5.1.0-dev (cgi-fcgi) (built: May 7 2005 01:01:15) $ grep 'Id:' ../php5/ext/session/session.c /* $Id: session.c,v 1.409 2005/03/24 00:17:16 tony2001 Exp $ */ $ ./sapi/cgi/php.exe test.php Content-type: text/html Set-Cookie: SID=a; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Set-Cookie: SID=a22f42753f62f7b6a426f159851f0b40; path=/ Notice: Constant SID already defined in /usr/src/php5-obj/a on line 4

« previous php.internals (#16285) next »