php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61547 session.progress
Submitted: 2012-03-28 19:30 UTC Modified: 2013-10-15 11:54 UTC
Votes:4
Avg. Score:5.0 ± 0.0
Reproduced:4 of 4 (100.0%)
Same Version:3 (75.0%)
Same OS:3 (75.0%)
From: info at sperlingprog dot com Assigned:
Status: No Feedback Package: Session related
PHP Version: 5.4.0 OS: Windows
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: info at sperlingprog dot com
New email:
PHP Version: OS:

 

 [2012-03-28 19:30 UTC] info at sperlingprog dot com
Description:
------------
---
From manual page: http://www.php.net/session.upload-progress
---

there are no session data for upload infos in the session on windows

i have test is on 3 windows systems

all php.ini settings are ok.

upload ok session progress is empty.

$_SESSION = empty!!

Greetings steffen

Test script:
---------------
session_start();

$key = ini_get("session.upload_progress.prefix") . "myForm";
if (!empty($_SESSION[$key])) 
  {
  $current = $_SESSION[$key]["bytes_processed"];
  $total = $_SESSION[$key]["content_length"];
  echo $current < $total ? ceil($current / $total * 100) : 100;
  }
else 
  {
  echo "<br> PHP_VERSION: " . PHP_VERSION ." <br> " . date("H:m:s") . "key: $key";
  var_dump($_SESSION);
  
  }


Patches

patch (last revision 2012-03-28 19:31 UTC by info at sperlingprog dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-26 00:22 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2013-06-26 00:22 UTC] felipe@php.net
Have you figured what was going wrong there?
 [2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 11:01:31 2024 UTC