|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-01-25 17:04 UTC] 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 21:00:01 2025 UTC |
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.