Bug #17087 Updated: No SID constant in PHP 4.2.0-win32
| From: | derick@php.net | Date: | Wed, 08 May 2002 06:29:58 +0000 |
| Subject: | Bug #17087 Updated: No SID constant in PHP 4.2.0-win32 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7192@lists.php.net to get a copy of this message | ||
ID: 17087
Updated by: derick@php.net
Reported By: chros@freemail.hu
-Status: Open
+Status: Closed
Bug Type: Session related
Operating System: WinXP
PHP Version: 4.2.0
New Comment:
This is indeed a bug, and it's fixed in CVS. You can try the latest
stable snapshot from snaps.php.net/win32 or wait for 4.2.1 which will
be released monday.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-05-08 02:26:14] chros@freemail.hu
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 this bug report at http://bugs.php.net/?id=17087&edit=1