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><?

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";
echo "<li>The counter is now $SESSION[count] ";
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:
but it should have looked something like this:
Can anyone tell me what's wrong?