#29584 [NEW]: session id not added if gzencode is used

From: Date: Mon, 09 Aug 2004 11:37:50 +0000
Subject: #29584 [NEW]: session id not added if gzencode is used
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-64302@lists.php.net to get a copy of this message
From: mail dot spam at gmx dot net Operating system: Linux PHP version: 4.3.7 PHP Bug Type: Session related Bug description: session id not added if gzencode is used 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 bug report at http://bugs.php.net/?id=29584&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29584&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29584&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29584&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29584&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29584&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29584&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29584&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29584&r=support Expected behavior: http://bugs.php.net/fix.php?id=29584&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29584&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29584&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29584&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29584&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29584&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29584&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29584&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29584&r=float

« previous php.bugs (#64302) next »