From: Operating system: Windows 2003/XP PHP version: 5.2.14 Package: Session related Bug Type: Bug Bug description:Loss of session data.
Description: ------------ A session variable can be created containing a '!', but the entire session is destroyed when the system tries to write the session file. Test script: --------------- <?php session_start(); $_SESSION['as!df'] = array("test 123"); // print_r on _SESSION here shows expected result. session_write_close(); session_start(); echo "<pre>".print_r($_SESSION,true)."</pre>"; Expected result: ---------------- Array ( [as!df] => Array ( [0] => test 123 ) ) Actual result: -------------- Array ( ) -- Edit bug report at http://bugs.php.net/bug.php?id=52477&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52477&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52477&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52477&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=52477&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52477&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=52477&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=52477&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=52477&r=needscript Try newer version: http://bugs.php.net/fix.php?id=52477&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=52477&r=support Expected behavior: http://bugs.php.net/fix.php?id=52477&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=52477&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=52477&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=52477&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52477&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=52477&r=dst IIS Stability: http://bugs.php.net/fix.php?id=52477&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=52477&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=52477&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=52477&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=52477&r=mysqlcfg