Anthony Kaufman wrote:
PHP Version 4.2.2 Apache 2 RH 9
The problem is that session files in the /tmp directory are completely cleared out at "random" intervals of time. We assume that the randomness is due to our session.gc_probability setting of "1" causing it to run for 1% of new sessions. What we don't understand is why the garbage collector is removing valid sessions. session.gc_maxlifetime is set to 86400 (24 hours) so it should keep them around for a good long time. However, it seems that ALL session files are deleted when the garbage collector runs. In some cases session files were deleted for sessions that had been around for less than a minute. We've thought of several hacks that would control the problem but we can't come up with any way to fix it.
Thanks in advance, Anthony
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php