On Wed, 16 Aug 2006 12:30:06 +0200, [EMAIL PROTECTED] (Pierre) wrote: >I would suggest to increase the default 8M to 12M. I discussed this >issue with Dmitry and he agrees on the principle. Any other opinions? >Or is it fine to increase it?
Just out of curiousity regarding default values and slightly off-memory_limit-topic: session.gc_maxlifetime has a default value of 1440 (as of revision 1.2 of php.ini-dist where it was introduced). Obviously some value has to be the default value, but 1440 seconds seem as a peculiar value. 24 minutes is not a rounded value such as 1 day (86400 secounds) would be. I'm only guessing, but is it possible that this default value was added with the idea that the value was specified in minutes, not seconds (as 1440 minutes equals 1 day)? The current php.ini-dist mentions correctly that it equals 24 minutes (per 1.162). I would like this default value to be globally changed from 1440 to 86400. I think that the 24 minute "timeout" limit would and does confuse developers and users with spurious "suddently my session disappeared, but I didn't close my browser" issues. I believe that it is more easy and nice for a web developer to discard a session in a system with a high gc_maxlifetime than to keep a session alive (e.g. having the page access a php resource every couple of minutes using javascript). -- - Peter Brodersen -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php