Re: Another Session Question
| From: | Matt Matijevich | Date: | Wed, 31 Dec 2003 16:20:26 +0000 |
| Subject: | Re: Another Session Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173549@lists.php.net to get a copy of this message | ||
[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;
?