Bug #71289 [Com]: Using session_name() prevents session_progress features from working
Edit report at https://bugs.php.net/bug.php?id=71289&edit=1
ID: 71289
Comment by: pfenderd at bellsouth dot net
Reported by: pfenderd at bellsouth dot net
Summary: Using session_name() prevents session_progress
features from working
Status: Open
Type: Bug
Package: Session related
Operating System: Windows 7
PHP Version: 7.0.1
Block user comment: N
Private report: N
New Comment:
When I mentioned session_progress, I was referring to the session.upload_progress feature.
Previous Comments:
------------------------------------------------------------------------
[2016-01-05 17:08:49] pfenderd at bellsouth dot net
Description:
------------
Using session_name() to specify a name immediately before session_start() causes the
session_progress feature to indicate that an upload has completed immediately even though the file
is still being sent. In my test case, the only difference between a working version and the failed
version is the used of session_name().
Without using session_name(), the session_progress feature works very well.
I currently use session_name() to differentiate sessions when using the same browser to access
different web pages in different tabs that show data from different websites on the same server.
This feature works well except for the session_progress feature.
Test script:
---------------
$session_name_str = "upload_session";
session_name($session_name_str);
session_start();
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71289&edit=1
Thread (7 messages)