Re: [PHP] Another Session Question

From: Matt Matijevich (matijevich_at_alliancetechnologies.net)
Date: 12/31/03


Date: Wed, 31 Dec 2003 10:20:26 -0600
To: <php-general@lists.php.net>


[snip]
session_start();

    if($_SESSION['counter_file'] !==$counterFile) //See if
visitor has already been counted for this page
    {$num += 1;
    $_SESSION['counter_file'] = $counterFile;
    }

echo $_SESSION['counterFile'] . ' testxxxxxxxxx ' . $counterFile;
[/snip]

might just be a typeo but do you mean: echo $_SESSION['counter_file'] .
' testxxxxxxxxx ' . $counterFile;
instead of this: echo $_SESSION['counterFile'] . ' testxxxxxxxxx ' .
$counterFile;
?