Bug #61547 [Opn->Fbk]: session.progress
| From: | felipe@php.net | Date: | Wed, 26 Jun 2013 00:22:49 +0000 |
| Subject: | Bug #61547 [Opn->Fbk]: session.progress | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-179821@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61547&edit=1
ID: 61547
Updated by: felipe@php.net
Reported by: info at sperlingprog dot com
Summary: session.progress
-Status: Open
+Status: Feedback
Type: Bug
Package: Session related
Operating System: Windows
PHP Version: 5.4.0
Block user comment: N
Private report: N
New Comment:
Have you figured what was going wrong there?
Previous Comments:
------------------------------------------------------------------------
[2012-03-28 19:30:08] 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);
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61547&edit=1