Edit report at https://bugs.php.net/bug.php?id=74131&edit=1
ID: 74131
Updated by: laruence@php.net
Reported by: fred5 at originsystems dot co dot za
Summary: session.upload_progress doesn't work for database
sessions
-Status: Open
+Status: Feedback
Type: Bug
Package: Session related
Operating System: CentOS 7
PHP Version: 7.0.16
Block user comment: N
Private report: N
New Comment:
I can not reproduce this, please note if you are running php via fastcgi, you should disable
nginx/apache's request buffering to make this work
Previous Comments:
------------------------------------------------------------------------
[2017-02-19 21:56:50] fred5 at originsystems dot co dot za
Description:
------------
session.upload_progress always writes its $_SESSION progress information to the session.save_path
session file, ignoring session_set_save_handler settings
Therefore, if a system stores session information in the database then:
1. the database session information is not updated with the progress information; and consequently
2. print_r($_SESSION) excludes any session.upload_progress information.
Rendering session.upload_progress useless for any system using database session handling.
This has become critical as PHP 7 has stopped supporting apc.rfc1867 - which is the only reliable
alternative of which I am aware.
Please see http://stackoverflow.com/q/42315444/3051627
for more information on this if desired.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74131&edit=1