From: jkm9000+php at gmail dot com Operating system: OSX/Linux PHP version: 5.4.10 Package: Session related Bug Type: Bug Bug description:Session save does not always happen.
Description: ------------ There is an issue open in the Symfony codebase that seems to actually be a problem with PHP. https://github.com/symfony/symfony/issues/6417#issuecomment-11878369 I was encouraged to open a ticket here and let Arpad know, but I don't see a way to do that here. Basically when anything other than the default filesystem sessions are used I have a reproducible way where session data is lost. When I use the filesytem sessions with the same code, it works. Originally I tried with 5.4.10 via apache / mod_php. The problem persists with 5.4.10 under nginx/php-fpm. Test script: --------------- There is some code mention here - https://github.com/symfony/symfony/issues/6417#issuecomment-11878369 as well as where I opened my ticket originally - https://github.com/FriendsOfSymfony/FOSUserBundle/issues/921 Expected result: ---------------- The expected result would be the session data is present. Actual result: -------------- Session data is lost. -- Edit bug report at https://bugs.php.net/bug.php?id=63963&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63963&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63963&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63963&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63963&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63963&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63963&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63963&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63963&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63963&r=support Expected behavior: https://bugs.php.net/fix.php?id=63963&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63963&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63963&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63963&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63963&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63963&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63963&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63963&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63963&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63963&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63963&r=mysqlcfg