php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28828 Problem with appending session.use_trans_sid to urls
Submitted: 2004-06-18 14:07 UTC Modified: 2005-05-11 23:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: demjanich at yandex dot ru Assigned:
Status: Closed Package: Session related
PHP Version: 5.0.0RC3 OS: Linux
Private report: No CVE-ID: None
 [2004-06-18 14:07 UTC] demjanich at yandex dot ru
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>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-23 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2005-05-11 23:00 UTC] demjanich at yandex dot ru
Now all works fine. Thanks!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Aug 11 14:00:03 2025 UTC