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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Thu Apr 25 20:01:45 2024 UTC