Req #62217 [Fbk->Opn]: default file based session handler does not use streamwrappers
| From: | eric-php at famderuiter dot net | Date: | Fri, 28 Jun 2013 08:47:06 +0000 |
| Subject: | Req #62217 [Fbk->Opn]: default file based session handler does not use streamwrappers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-179933@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62217&edit=1
ID: 62217
User updated by: eric-php at famderuiter dot net
Reported by: eric-php at famderuiter dot net
Summary: default file based session handler does not use
streamwrappers
-Status: Feedback
+Status: Open
Type: Feature/Change Request
Package: Session related
Operating System: any
PHP Version: 5.4.3
Block user comment: N
Private report: N
New Comment:
We experimented with a custom file:// streamwrapper to do userland file replication to other
machines in the cluster (to avoid the costs of a san).
But since PHP has the functionality to override the default file:// streamwrapper I would suspect
that all internal php functions would use this. Otherwise it should be documented that certain
internal functions are not using streamwrappers.
Previous Comments:
------------------------------------------------------------------------
[2013-06-27 09:22:16] yohgaki@php.net
Why do you need stream wrapper for files save handler?
------------------------------------------------------------------------
[2012-06-03 18:05:44] eric-php at famderuiter dot net
Description:
------------
I was testing with a streamwrapper which replaces the standard 'file://' streamwrapper.
While testing I found that the session files where not opened via the streamwrapper.
While the workaround is easy (just use a custom session handler like the example in the
session_set_savehandler documentation), it would be nice to have this working by default.
Expected result:
----------------
session files are opened via the streamwrappers
Actual result:
--------------
session files are not opened via the streamwrappers
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62217&edit=1