From:             hos dot endre at axelero dot hu
Operating system: Win NT/XP
PHP version:      5CVS-2003-06-29 (dev)
PHP Bug Type:     Session related
Bug description:  Session feature unusable.

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 bug report at http://bugs.php.net/?id=24394&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24394&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24394&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24394&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24394&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24394&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24394&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24394&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24394&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24394&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24394&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24394&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24394&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24394&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24394&r=gnused

Reply via email to