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

- Thread: https://externals.io/message/16283
- Original archive: https://news-web.php.net/php.internals/16283
- Started by Xuefer on 2005-05-20T12:34:43+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #16283 — Xuefer — 2005-05-20T12:34:43+00:00

URL: https://externals.io/message/16283#16283

i cannot reopen bug 29322, nor can i add commit to it
http://bugs.php.net/bug.php?id=29322
pls check against the cvs:
http://cvs.php.net/diff.php/php-src/ext/session/session.c?r1=1.391&r2=1.392&ty=h

---

## #16284 — Antony Dovgal — 2005-05-20T16:50:25+00:00

URL: https://externals.io/message/16283#16284 · In reply to: #16283

On Fri, 20 May 2005 20:34:43 +0800
Xuefer <xuefer@gmail.com> wrote:

> i cannot reopen bug 29322, nor can i add commit to it
> http://bugs.php.net/bug.php?id=29322
> pls check against the cvs:
> http://cvs.php.net/diff.php/php-src/ext/session/session.c?r1=1.391&r2=1.392&ty=h

I cannot reproduce the behaviour described in the bug report with latest 4.3, 5.0 and HEAD.

-- 
Wbr, 
Antony Dovgal aka tony2001
antony@zend.com

---

## #16285 — Xuefer — 2005-05-21T03:09:35+00:00

URL: https://externals.io/message/16283#16285 · In reply to: #16284

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
