From: stephan dot skusa at lippe-net dot de Operating system: LINUX PHP version: 4.3.9 PHP Bug Type: Session related Bug description: session.use_trans_id = 0 ignored on first call ...
Description: ------------ ini_set("session.use_trans_sid", 0) seems to be ignored on first call. Reproduce code: --------------- <?php ini_set("session.use_trans_sid", 0); ini_set("session.use_cookies", 1); session_name("s"); session_start(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Session-Testing</title> </head> <body> <a href="index.php">Test</a> </body> </html> Expected result: ---------------- The session-id should not be added after "index.php". Actual result: -------------- On the first call of the script it is added ... on the second call it is not ... ! -- Edit bug report at http://bugs.php.net/?id=30422&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30422&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30422&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30422&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30422&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30422&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30422&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30422&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30422&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30422&r=support Expected behavior: http://bugs.php.net/fix.php?id=30422&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30422&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30422&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30422&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30422&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30422&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30422&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30422&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30422&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30422&r=mysqlcfg