#24394 [Fbk->NoF]: Session feature unusable.

From: Date: Fri, 04 Jul 2003 07:13:25 +0000
Subject: #24394 [Fbk->NoF]: Session feature unusable.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-43250@lists.php.net to get a copy of this message
ID: 24394 Updated by: sniper@php.net Reported By: hos dot endre at axelero dot hu -Status: Feedback +Status: No Feedback Bug Type: Session related Operating System: Win NT/XP PHP Version: 5CVS-2003-06-29 (dev) New Comment: 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 "Open". Thank you. (DO NOT use "Add Comment" on your own bug report!) Previous Comments: ------------------------------------------------------------------------ [2003-06-30 04:18:01] hos dot endre at dorsum dot hu I've tryed the test script I provided yesterday on WinNT, Apache 1.3.12, PHP 5.0.0b1 with php4_apache.dll (configured as php5_module in httpd.conf). Works well. This bug might be XP specific, or it might be my own system's special. By the way, the XP was configued to use php4_apache_hooks.dll, becase php4_apache.dll were missing from one of the downloaded PHP distributions. I'm willing to figure out what the hell going on with that stuff. I'll be back with further results. ------------------------------------------------------------------------ [2003-06-29 20:04:05] sniper@php.net Does this script work any better: <?php session_start(); if (!isset($_SESSION["count"])) { $_SESSION['count'] = 1; } else { echo $_SESSION['count']++; } ?> ------------------------------------------------------------------------ [2003-06-29 19:37:32] hos dot endre at axelero dot hu Description: ------------ On request shutdown session file is created, but stay locked with zero size. CPU have no load, and nothing happens. No crash. I've tried older 5CVS bins, and it seems to be an older bug. Serialization and anything else works well for me. 5.0.0-Beta1 also contains this bug. Leaving out session_start & session_register. :) Reproduce code: --------------- <? session_start(); if (!isset($HTTP_SESSION_VARS["count"])) { session_register("count"); $count = &$HTTP_SESSION_VARS["count"]; $count = 1; } else $count = &$HTTP_SESSION_VARS["count"]; echo $count++; ?> Expected result: ---------------- 1, 2, 3... by refreshing the page. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24394&edit=1

« previous php.bugs (#43250) next »