]> granicus.if.org Git - php/commitdiff
move gc_maxlifetime one up
authorSascha Schumann <sas@php.net>
Thu, 3 Oct 2002 06:52:23 +0000 (06:52 +0000)
committerSascha Schumann <sas@php.net>
Thu, 3 Oct 2002 06:52:23 +0000 (06:52 +0000)
php.ini-dist

index cbe1103ade10340b4d8c4da2a15c297e4b083a16..e38c2fd8126e7f90655d22b87a182d48ebf7d984 100644 (file)
@@ -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.