Bug #71289 [Com]: Using session_name() prevents session_progress features from working

From: Date: Tue, 05 Jan 2016 18:19:17 +0000
Subject: Bug #71289 [Com]: Using session_name() prevents session_progress features from working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198435@lists.php.net to get a copy of this message
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)

« previous php.bugs (#198435) next »