Hello,
I run php4 on a linux box with apache. when I tried to run the following code:
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre><?
session_start();
session_register("SESSION");

if (! isset($SESSION)) {
$SESSION["count"] = 0;
echo "<li>Counter initialized, please reload this page to see it increment";
} else {
echo "<li>Waking up session $PHPSESSID";
$SESSION["count"]++;
}
echo "<li>The counter is now $SESSION[count] ";
?>[/code]
I reloaded the page several times and from different browsers but the counter wouldn't increment.
There was a sess_xxx... file in /tmp but the content was only this:
!SESSION|
but it should have looked something like this:
SESSION|a:1:{s:5:"count";i:234;}
Can anyone tell me what's wrong?


------------------