From: chris_se at gmx dot net Operating system: GNU/Linux PHP version: 4.3.2 PHP Bug Type: Feature/Change Request Bug description: session.use_trans_sid should changeable by scripts
Description: ------------ According to http://de3.php.net/manual/de/function.ini-set.php you may not alter session.use_trans_sid in PHP scripts, because it is only changeable in PHP_INI_SYSTEM|PHP_INI_PERDIR. I do not know why this is so, but in my eyes it should at least be possible to deactivate this option at runtime. Reproduce code: --------------- <?php ini_set ('session.use_trans_sid', 0); session_start (); ?> <a href="a.php">Test</a> Expected result: ---------------- In an environment with 'session.use_trans_sid' activated in the php.ini file or in a .htaccess file, it should *not* append the session id to the link: <a href="a.php">Test</a> Actual result: -------------- The session id is appended to the link and not even an error or notice ist produced: <a href="a.php?PHPSESSID=...">Test</a> -- Edit bug report at http://bugs.php.net/?id=24693&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24693&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24693&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24693&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24693&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24693&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24693&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24693&r=support Expected behavior: http://bugs.php.net/fix.php?id=24693&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24693&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24693&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24693&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24693&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24693&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24693&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24693&r=gnused