Bug #17087 Updated: No SID constant in PHP 4.2.0-win32
| From: | chros at freemail dot hu | Date: | Wed, 08 May 2002 06:46:29 +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-7193@lists.php.net to get a copy of this message | ||
ID: 17087
Updated by: chros@freemail.hu
Reported By: chros@freemail.hu
Status: Closed
Bug Type: Session related
Operating System: WinXP
PHP Version: 4.2.0
New Comment:
thanx for the quick answer !!
I'll wait till monday ...
chros
Previous Comments:
------------------------------------------------------------------------
[2002-05-08 02:29:57] derick@php.net
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
------------------------------------------------------------------------
[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