From:             demjan at elkor dot lv
Operating system: Linux
PHP version:      5.0.0RC3
PHP Bug Type:     Session related
Bug description:  Problem with appending session.use_trans_sid to urls

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 bug report at http://bugs.php.net/?id=28828&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28828&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28828&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28828&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28828&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28828&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28828&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28828&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28828&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28828&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28828&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28828&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28828&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28828&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28828&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28828&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28828&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28828&r=float

Reply via email to