From: jeffb at gpscity dot com Operating system: Red Hat Linux release 7.2 (NTT/V PHP version: 4.3.9 PHP Bug Type: Session related Bug description: Session Corruption of certain vars
Description: ------------ I.m running: - PHP 4.3.9 - Apache 1.3.33 - Red Hat Linux release 7.2 (NTT/VERIO EWH) Some session variable values are getting written in the session file as "spacer". Yet all other variables are getting written correctly! When i set the session var & print out the $_SESSION array, it is showing the value of the variable exactly as I set it. i.e. I'm setting SKU to one of our valid SKU's: $_SESSION['SKU'] = "iway500c"; print_r($_SESSION); Array ( [mycountry] => USA [mainhost] => localhost [environment] => local [SKU] => iway500c ) but in the session file written in /tmp it gets saved like this: mycountry|s:3:"USA";mainhost|s:9:"localhost";environment|s:5:"local";SKU|s:6:"spacer"; I can change the name of the var to SKU2 or even my initials(JB), & even the value to a different sku such as sp2620, but it always gets saved as spacer, no matter what!!! Any response would be appreciated? Regards, Jeff Brown -- Edit bug report at http://bugs.php.net/?id=31166&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31166&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31166&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31166&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31166&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31166&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31166&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31166&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31166&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31166&r=support Expected behavior: http://bugs.php.net/fix.php?id=31166&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31166&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31166&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31166&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31166&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31166&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31166&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31166&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31166&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31166&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31166&r=mysqlcfg