ID: 29584 User updated by: mail dot spam at gmx dot net Reported By: mail dot spam at gmx dot net Status: Bogus Bug Type: Session related Operating System: Linux PHP Version: 4.3.7 New Comment:
i see no sense in having the user to choose whether to have the session-id added or compressing the output sent to the browser and i wasn't able to find this explained in the documentation. would you please be so kind and point me to the right direction? why does gzencode not invoke the transparent adding of the session-id? thanks in advance Previous Comments: ------------------------------------------------------------------------ [2004-08-09 13:41:36] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [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
