#23432 [Bgs->Opn]: PHP using mtime instead of atime to clean session files
| From: | nlopess@php.net | Date: | Mon, 09 Feb 2004 15:59:47 +0000 |
| Subject: | #23432 [Bgs->Opn]: PHP using mtime instead of atime to clean session files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-54616@lists.php.net to get a copy of this message | ||
ID: 23432
Updated by: nlopess@php.net
-Summary: session.gc_maxlifetime documentation problem
Reported By: polone at townnews dot com
-Status: Bogus
+Status: Open
-Bug Type: Documentation problem
+Bug Type: Session related
Operating System: N/A
PHP Version: 4.3.2RC2
New Comment:
reclassified.
Previous Comments:
------------------------------------------------------------------------
[2004-02-07 05:53:08] nlopess@php.net
atime is used to keep track of last access to a file. If PHP can't
determine the last access, how will it determine if it's garbage or
not?...
------------------------------------------------------------------------
[2003-04-30 17:35:03] polone at townnews dot com
In the document:
http://www.php.net/manual/en/ref.session.php
The documentation says that a file system supporting atime is needed -
however, mod_files.c appears to be using mtime. May confuse
administrators that mount file systems with noatime.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23432&edit=1