Edit report at https://bugs.php.net/bug.php?id=60203&edit=1

 ID:                 60203
 Updated by:         cataphr...@php.net
 Reported by:        martin at psinas dot com
 Summary:            Session upload progress does not work
-Status:             Open
+Status:             Duplicate
 Type:               Bug
 Package:            Session related
 Operating System:   Ubuntu 10.04 / Apache2
 PHP Version:        5.4.0beta2
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2011-11-02 15:18:12] martin at psinas dot com

Description:
------------
Bogus bug is not bogus: https://bugs.php.net/bug.php?id=60196

I've tried small files and large files, no session data is ever returned.

Test script:
---------------
// form.php
<?php
session_start();
?>
<form action="upload.php" method="POST" enctype="multipart/form-data">
<input type="hidden" name="<?php echo ini_get("session.upload_progress.name"); 
?>" value="123" />
<input type="file" name="file1" />
<input type="file" name="file2" />
<input type="submit" />
</form>

// upload.php
<?php
session_start();
var_dump($_SESSION);
?>

Expected result:
----------------
Anything other than: array(0) {}

Actual result:
--------------
array(0) {}


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60203&edit=1

Reply via email to