summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php.ini-dist3
1 files changed, 3 insertions, 0 deletions
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.