ID: 15909 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Linux Gnu 2.2.12 PHP Version: 4.1.2 New Comment:
Yes, we are using MySQL 3.23.38 in the application. However, the session.save_handler is files. We were using the same version of MySQL with PHP 4.0.2. Previous Comments: ------------------------------------------------------------------------ [2002-03-26 00:40:21] [EMAIL PROTECTED] Do you use MySQL? ------------------------------------------------------------------------ [2002-03-25 21:15:04] [EMAIL PROTECTED] PHP Does not appear to be seg faulting; nothing in the logs indicates that type of error. ------------------------------------------------------------------------ [2002-03-25 05:09:49] [EMAIL PROTECTED] Hmm. It sounds like PHP is segfaulting. (Or bailing out without proper shutdown) If you are having segfualts, could you build PHP with --enable-debug and send the backtrace? ------------------------------------------------------------------------ [2002-03-25 03:18:27] [EMAIL PROTECTED] It looks like the PHP 4.1.2 forgot to call session_write_close() by default. I added this call at the end of my program, and solved this session problem. ------------------------------------------------------------------------ [2002-03-20 06:07:11] [EMAIL PROTECTED] Interesting workaround: session_register("lastaction"); session_register("userip"); session_register("lines"); // etc etc $HTTP_SESSION_VARS["xx"] = "Anything"; // this is the magic bit Although xx isn't a registered session var, and doesn't get stored in the session, it seems to stimulate PHP to update the session vars in the file! With that addition, my apps now work fine under 4.1.2.. (Win 2k, Apache 1.3.23) John ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15909 -- Edit this bug report at http://bugs.php.net/?id=15909&edit=1