From: tommy_in_japan at nospam dot hotmail dot com Operating system: Win XP Professional PHP version: 4.3.2 PHP Bug Type: IIS related Bug description: Session data not written/stored
Description: ------------ I've tried everything (I think), and can't get PHP to store any session data. I specified a session data directory that the web server has read/write permissions for, and the session arrays get modified on the page where the variables are set, yet nothing gets written to disk (and therefore not passed to any other pages, from which I can't reference the variables). PHP.ini settings: session.save_handler = files session.save_path = c:/temp ;note: "c:\temp" and "/temp" etc. also do not work session.use_cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.serialize_handler = php session.cache_expire = 180 Reproduce code: --------------- [test.php] session_start(); $_SESSION["test"] = "test"; echo $_SESSION["test"]; //works fine, but when referencing in any other file //(via redirect or anything else)... [test2.php] session_start(); echo $_SESSION["test"]; //returns nothing -- Edit bug report at http://bugs.php.net/?id=24410&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24410&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24410&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24410&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24410&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24410&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24410&r=support Expected behavior: http://bugs.php.net/fix.php?id=24410&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24410&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24410&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24410&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24410&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24410&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24410&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24410&r=gnused
