Edit report at http://bugs.php.net/bug.php?id=14715&edit=1

 ID:                 14715
 Updated by:         [email protected]
 Reported by:        chedong at yeah dot net
 Summary:            suggestion:mapping session file into dirs
-Status:             Open
+Status:             Bogus
 Type:               Feature/Change Request
-Package:            Feature/Change Request
+Package:            *General Issues
 Operating System:   FREEBSD
 PHP Version:        4.0.6
 Block user comment: N
 Private report:     N

 New Comment:

This is possible. See 2nd paragraph in
http://php.net/manual/en/session.configuration.php#ini.session.save-path


Previous Comments:
------------------------------------------------------------------------
[2001-12-27 05:51:45] [email protected]

Not a bug, making it a feature request.

------------------------------------------------------------------------
[2001-12-27 04:33:32] chedong at yeah dot 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/bug.php?id=14715&edit=1

Reply via email to