vrana Thu Oct 13 09:44:52 2005 EDT
Modified files:
/phpdoc/en/reference/session ini.xml
Log:
Minimum gc_maxlifetime is used (bug #34588)
http://cvs.php.net/diff.php/phpdoc/en/reference/session/ini.xml?r1=1.35&r2=1.36&ty=u
Index: phpdoc/en/reference/session/ini.xml
diff -u phpdoc/en/reference/session/ini.xml:1.35
phpdoc/en/reference/session/ini.xml:1.36
--- phpdoc/en/reference/session/ini.xml:1.35 Tue Aug 30 10:49:57 2005
+++ phpdoc/en/reference/session/ini.xml Thu Oct 13 09:44:48 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.35 $ -->
+<!-- $Revision: 1.36 $ -->
<section id="session.configuration">
&reftitle.runtime;
&extension.runtime;
@@ -345,11 +345,20 @@
cleaned up.
</simpara>
<note>
+ <para>
+ If different scripts have different values of
+ <literal>session.gc_maxlifetime</literal> but shares the same place for
+ storing the session data then the script with the minimum value will be
+ cleaning the data. In this case, use this directive together with <link
+ linkend="ini.session.save-path">session.save_path</link>.
+ </para>
+ </note>
+ <note>
<simpara>If you are using the default file-based session handler, your
filesystem must keep track of access times (atime). Windows FAT does
not so you will have to come up with another way to handle garbage
collecting your session if you are stuck with a FAT filesystem or any
- other fs where atime tracking is not available.
+ other filesystem where atime tracking is not available.
Since PHP 4.2.3 it has used mtime (modified date) instead of atime. So,
you
won't have problems with filesystems where atime tracking is not
available.
</simpara>