Bug #71289 [NEW]: Using session_name() prevents session_progress features from working
From: pfenderd at bellsouth dot net
Operating system: Windows 7
PHP version: 7.0.1
Package: Session related
Bug Type: Bug
Bug description:Using session_name() prevents session_progress features from working
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 bug report at https://bugs.php.net/bug.php?id=71289&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71289&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71289&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71289&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71289&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71289&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71289&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71289&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71289&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71289&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71289&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71289&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71289&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71289&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71289&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71289&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71289&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71289&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71289&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71289&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71289&r=mysqlcfg
Thread (7 messages)
- pfenderd at bellsouth dot net