php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60203 Session upload progress does not work
Submitted: 2011-11-02 15:18 UTC Modified: 2011-11-02 18:12 UTC
From: martin at psinas dot com Assigned:
Status: Duplicate Package: Session related
PHP Version: 5.4.0beta2 OS: Ubuntu 10.04 / Apache2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: martin at psinas dot com
New email:
PHP Version: OS:

 

 [2011-11-02 15:18 UTC] 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) {}

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-02 18:12 UTC] cataphract@php.net
-Status: Open +Status: Duplicate
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 20:01:29 2024 UTC