I use the following code:
<?php
session_start();
// Use $HTTP_SESSION_VARS with PHP 4.0.6 or less
if (!isset($SESSION['count'])) {
$SESSION['count'] = 0;
} else {
$SESSION['count']++;
}
echo $SESSION['count'];
?>
is creating a 'sess_3234234sadasd' file but is empty. The webpage output is '0'.