ID:               29584
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mail dot spam at gmx dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: Linux
 PHP Version:      4.3.7
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

If you compress it, we can't match on links anymore.


Previous Comments:
------------------------------------------------------------------------

[2004-08-09 13:37:49] mail dot spam at gmx dot net

Description:
------------
if i use gzencode() to compress the output being sent to the user's
browser there get's no session-id added to links.

use_only_cookies is set to off and use_trans_sid is set to On.

Reproduce code:
---------------
working:
<?php
session_start();
echo '<a href="dummy.php">Test</a>';
?>


_not_ working:
<?php
session_start();
header('Content-Encoding: gzip');
echo gzencode('<a href="dummy.php">Test</a>');
?>

Expected result:
----------------
i assumed to see both links with session-id added.

Actual result:
--------------
working:
<a
href="dummy.php?PHPSESSID=074c2a090a20e5bb3d59948a39da5e87">Test</a>


_not_ working:
<a href="dummy.php">Test</a>


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29584&edit=1

Reply via email to