hi
I tried this:
<?
session_start();
if (!isset($SESSION['counter'])) {
$SESSION['counter'] = 0;
}
else {
$_SESSION['counter']++;
}
?>
My system:
Win2k + Apache 1.3.24 + PHP 4.1.2
register_globals = Off
on windows it doesn't work. $_SESSION['counter'] contains always 0.
Then I tried it on a linux server and it worked!
Is that a well known problem on windows?
Thanx for any hints or help?
Marcel