Edit report at https://bugs.php.net/bug.php?id=62217&edit=1
ID: 62217 Updated by: yohg...@php.net Reported by: eric-php at famderuiter dot net Summary: default file based session handler does not use streamwrappers -Status: Open +Status: Wont fix Type: Feature/Change Request Package: Session related Operating System: any PHP Version: 5.4.3 Block user comment: N Private report: N New Comment: Many php modules uses files directly and stream wrapper is not mandatory. If you would like to use your own session save handler, you may use user defined save handler or develop your own native save handler. Previous Comments: ------------------------------------------------------------------------ [2013-06-28 08:47:05] eric-php at famderuiter dot net 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. ------------------------------------------------------------------------ [2013-06-27 09:22:16] yohg...@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