From: Rasmus Lerdorf Date: Sat, 17 Aug 2002 01:14:53 +0000 (+0000) Subject: Add warning about atime requirement for session gc X-Git-Tag: RELEASE_0_91~420 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b16eb792ab47cdc3776b21932e5d9dd490fd4a99;p=php Add warning about atime requirement for session gc --- diff --git a/php.ini-dist b/php.ini-dist index b497e804e9..994d5ab116 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -784,6 +784,9 @@ session.gc_probability = 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.