Jason Wong wrote:
*That* I understand and agree with. What I was more interested in was the "concurrency" aspect. Why setting gc to 100 might cause problems with concurrency.
If you set it 100, then _every_ request in which sessions are used, PHP has to go through all the session files (by default stored in /tmp) and check whether they have expired. If you have a busy server you could have thousands of session files. Checking thousands of files at each request is very time consuming.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php