From: whelan at nexserver dot com Operating system: Windows XP PHP version: 4.3.4 PHP Bug Type: Session related Bug description: session_name doesn't fail or compensate for illegal white space
Description: ------------ if it contains a space, you get a new session_id on every page calling session_start(). I believe php should either fail and return an error or compensate for the space. It shouldn't just not work correctly. Reproduce code: --------------- session_name('New Session'); session_start(); Expected result: ---------------- It should maintain the same session id for each session with the same session name. Actual result: -------------- It will create a new session id for each time this is called. -- Edit bug report at http://bugs.php.net/?id=27550&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27550&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27550&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27550&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27550&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27550&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27550&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27550&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27550&r=support Expected behavior: http://bugs.php.net/fix.php?id=27550&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27550&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27550&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27550&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27550&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27550&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27550&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27550&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27550&r=float