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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
21 + 49 = ?
Subscribe to this entry?

 
 [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: Mon Jun 03 08:01:30 2024 UTC