PHP Test results
| From: | noreply@php.net | Date: | Wed, 10 Apr 2002 16:17:37 +0000 |
| Subject: | PHP Test results | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-5031@lists.php.net to get a copy of this message | ||
array (
'user_name' => 'Carsten Saathoff',
'email' => 'kodemaniak@gmx.de',
'package' => '4.2.0-RC2',
'testcase' => '0',
'status' => 'Good',
'os' => 'Linux i386',
'sapi' => 'Apache 1.3.x DSO',
'automake' => '14',
'autoconf' => '213',
'libtool' => '142',
'bison' => '132',
'mysql' => 'on',
'pcre' => 'on',
'pgsql' => 'on',
'test' => 'I tested a site, that I\'m just developing with PHP 4.2. I had
both trans-sid disabled and cookies blocked and so I\'m using SID to put the Session ID on all
Links. But with 4.2 ORC1/2 SID is always undefined, when a session exists. I wrote the following
script, that reproduces the bug:
<?php
session_start();
echo \"<a
href=\\\"{$_SERVER[\'PHP_SELF\']}?\".SID.\"\\\">Link</a>\";
echo \'<br><br>\'. SID.\"<br><br>\";
echo session_id();
?>
',
'problems' => 'When I come on the first page, a session is created and SID is
defined. When I know click on the Link, nothing should change on the next page. But there the
problem lies: Now SID is undefined although session_id() still prints the right Session ID. When I
now use the Link again obviously my session is lost aswell and a new one is created.
I tested the same script with php 4.1.2 and 4.3.0-dev and both don\'t show this behaviour. The
sessions also work with cookies and trans-sid enabled.',
'bugids' => '',
'remarks' => 'I used --with-srm as an additional configure option and also
installed the srm-sapi and extension before.
I\'m not very experienced with compiling php and I only tried it with a cvs version several
weeks ago to test srm. So I am not even sure, if the error lies on my side, but my tests with the
other versions all worked, and so it\'s most probably a bug IMO.
If any important information is missing, feel free to mail me and I\'ll give you any additional
information as soon as possible.',
)