From: Sascha Schumann Date: Thu, 3 Oct 2002 06:52:23 +0000 (+0000) Subject: move gc_maxlifetime one up X-Git-Tag: php-4.3.0pre1~275 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fbf3f77c083f4734d1f9a594c65974cb2ed12b0;p=php move gc_maxlifetime one up --- diff --git a/php.ini-dist b/php.ini-dist index cbe1103ade..e38c2fd812 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -801,6 +801,13 @@ session.serialize_handler = php session.gc_probability = 1 session.gc_dividend = 100 +; After this number of seconds, stored data will be seen as 'garbage' and +; cleaned up by the garbage collection process. +; WARNING: Your filesystem must store access times. Windows FAT does +; not. So, see session_set_save_handler() and write your own +; session handler with a different mechanism for cleaning up sessions. +session.gc_maxlifetime = 1440 + ; PHP 4.2 and less have an undocumented feature/bug that allows you to ; to initialize a session variable in the global scope, albeit register_globals ; is disabled. PHP 4.3 and later will warn you, if this feature is used. @@ -810,13 +817,6 @@ session.gc_dividend = 100 session.bug_compat_42 = 1 session.bug_compat_warn = 1 -; After this number of seconds, stored data will be seen as 'garbage' and -; cleaned up by the garbage collection process. -; WARNING: Your filesystem must store access times. Windows FAT does -; not. So, see session_set_save_handler() and write your own -; session handler with a different mechanism for cleaning up sessions. -session.gc_maxlifetime = 1440 - ; Check HTTP Referer to invalidate externally stored URLs containing ids. ; HTTP_REFERER has to contain this substring for the session to be ; considered as valid.