Bug #14715 Updated: suggestion:mapping session file into dirs
| From: | sander@php.net | Date: | Thu, 27 Dec 2001 10:51:45 +0000 |
| Subject: | Bug #14715 Updated: suggestion:mapping session file into dirs | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-75099@lists.php.net to get a copy of this message | ||
ID: 14715
Updated by: sander
Reported By: chedong@yeah.net
Status: Open
Old Bug Type: Session related
Bug Type: Feature/Change Request
Operating System: FREEBSD
PHP Version: 4.0.6
New Comment:
Not a bug, making it a feature request.
Previous Comments:
------------------------------------------------------------------------
[2001-12-27 04:33:32] chedong@yeah.net
if a site use php session heavily, the mean problem is too many session file in /tmp. sometime user
even can't use 'rm *' delete these too many files.
is it possible add a php session file mapping mechanism?
auto create mapping dir in session_tmp_dir and assign session file into dirs(if dir not created
autocreated it)
for example:
mapping session file to
/tmp/a/a
/tmp/a/b
/tmp/a/c
.....
/tmp/b/a
...
or
/tmp/php_sess/0/0
/tmp/php_sess/0/1
/tmp/php_sess/0/2
/tmp/php_sess/0/3
/tmp/php_sess/0/4
...
user can config, mapping or not mapping session tmp dir,
mapping dir deep level in php.ini....
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14715&edit=1