sas Thu Oct 3 02:52:24 2002 EDT Modified files: /php4 php.ini-dist Log: move gc_maxlifetime one up Index: php4/php.ini-dist diff -u php4/php.ini-dist:1.160 php4/php.ini-dist:1.161 --- php4/php.ini-dist:1.160 Thu Oct 3 02:49:33 2002 +++ php4/php.ini-dist Thu Oct 3 02:52:23 2002 @@ -801,6 +801,13 @@ 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. @@ -809,13 +816,6 @@ 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
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php