From: skaufmann at gmx dot net Operating system: Windows XP SP 1 PHP version: 4.3.4 PHP Bug Type: Session related Bug description: wrong session files
Description: ------------ PHP generates wrong session files, it adds spaces to the session variables like Sample Session file: status|s:2:"ok ";user|s:20:"admin ";language|s:3:"de "; and the whole session handling doesn't work, maybe something is wrong with the handling of variables because I can't compare a normal entered value (from a form or set in the source) and a value from a Database (MS SQL SERVER) for example: "if ($myPasswd == $passwdFromDB)" doesn't work (I always get false as result but they are equal) but "if ($myPasswd == $myPasswd)" does.... Everything works fine with versions below 4.3.4 I tested it on 2 different machines. -- Edit bug report at http://bugs.php.net/?id=26503&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26503&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26503&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26503&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26503&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26503&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26503&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26503&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26503&r=support Expected behavior: http://bugs.php.net/fix.php?id=26503&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26503&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26503&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26503&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26503&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26503&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26503&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26503&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26503&r=float