Bug #64075 [Opn->Nab]: when the session name is not PHPSESSID, upload progress informations are not pr
Edit report at https://bugs.php.net/bug.php?id=64075&edit=1
ID: 64075
Updated by: arpad@php.net
Reported by: pmaes at nextoo dot fr
Summary: when the session name is not PHPSESSID, upload
progress informations are not pr
-Status: Open
+Status: Not a bug
Type: Bug
Package: Session related
Operating System: OSX
PHP Version: 5.4.11
Block user comment: N
Private report: N
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2013-06-27 15:57:06] arpad@php.net
Because uploads are processed before your script executes, session_name('foo') or
ini_set('session.name', 'foo') won't affect them and PHP will use
whatever's been defined in your php.ini etc. the default being PHPSESSID.
Setting session.name in your php.ini or vhost config etc. works fine.
------------------------------------------------------------------------
[2013-03-20 20:24:59] raz dot atoth at gmail dot com
For what it's worth, i'm experiencing the same issue with v. 5.4.13 on Linux Mint.
The session upload progress does not appear to work if function 'session_name' is used to
set the name of the session cookie,
------------------------------------------------------------------------
[2013-01-25 17:04:12] pmaes at nextoo dot fr
Description:
------------
I test upload progress for my app (under symfony 1.4), and it doesn't work. With PHP without
any framework it works.
I compared http request header and the only difference is the cookie.
Into my symfony app, i setted session_name=PHPSESSID and the progress informations was into
$_SESSION
So, when the session name is not PHPSESSID, upload progress informations are not present.
Test script:
---------------
http://pastebin.com/FY02EfDA
try with index.php?session_name=test
result: it don't work
remove the cookie after the test
try with index.php or index.php?session_name=PHPSESSID
result: it works
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64075&edit=1
Thread (4 messages)