#28828 [Opn->Fbk]: Problem with appending session.use_trans_sid to urls
| From: | tony2001@php.net | Date: | Tue, 15 Feb 2005 00:40:25 +0000 |
| Subject: | #28828 [Opn->Fbk]: Problem with appending session.use_trans_sid to urls | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74080@lists.php.net to get a copy of this message | ||
ID: 28828
Updated by: tony2001@php.net
Reported By: demjan at elkor dot lv
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Linux
PHP Version: 5.0.0RC3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2004-06-18 14:07:06] demjan at elkor dot lv
Description:
------------
Hello!
There is some problem in adding SESSID when "session.use_trans_sid" is
enabled. See code bellow.
Reproduce code:
---------------
<?php
ini_set('session.use_trans_sid','1');
session_start();
?>
<html>
<body>
<?php
for ($i = 0; $i < 4055; $i ++) echo '0';
echo "\r\n<br />";
?>
<a href="<? echo 'index.php'; ?>"
title="test">test</a>
</body>
</html>
Expected result:
----------------
<html>
<body>
000000
[... a lot of nulls]
<br /><a href="index.php?PHPSESSID=8an47kimf5fd8i9pg7t5km1i64"
title="test">test</a>
</body>
</html>
Actual result:
--------------
<html>
<body>
000000[... a lot of nulls]
<br /><a href="index.php"
title=?PHPSESSID=8an47kimf5fd8i9pg7t5km1i64"test">test</a>
</body>
</html>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28828&edit=1