Bug #17087: No SID constant in PHP 4.2.0-win32

From: Date: Wed, 08 May 2002 06:26:14 +0000
Subject: Bug #17087: No SID constant in PHP 4.2.0-win32
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7191@lists.php.net to get a copy of this message
From: chros@freemail.hu Operating system: WinXP PHP version: 4.2.0 PHP Bug Type: Session related Bug description: No SID constant in PHP 4.2.0-win32 The problem is, that I couldn't transmit the SID constant in URL under PHP 4.2.0 win32! (the session_name() . "=" . session_id() works) for example: header("Location: temp.php?" . SID); <a href="temp.php?<?php echo SID ?>">temp</a> or a much simplier example: within a page: <?php start_session(); echo SID; ?> Nothing happens .... Is it a bug or just I'm stupid (I forgot something with the variable scope) ??? OS: WinXP Apache with PHP CGI php4.2.0 win32 !!! register_globals off; auto_tans_sid on; chros -- Edit bug report at http://bugs.php.net/?id=17087&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17087&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17087&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17087&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17087&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17087&r=support Expected behavior: http://bugs.php.net/fix.php?id=17087&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17087&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17087&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17087&r=globals

« previous php.bugs (#7191) next »