Re: [PHP] Another Session Question
From: Matt Matijevich (matijevich_at_alliancetechnologies.net)
Date: 12/31/03
- Next message: john_at_johnallsopp.co.uk: "Cannot send session cache limiter"
- Previous message: Ashley M. Kirchner: "Re: AW: [PHP] Help with PNG creation script"
- Next in thread: Al: "Re: [PHP] Another Session Question"
- Reply: Al: "Re: [PHP] Another Session Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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;
?
- Next message: john_at_johnallsopp.co.uk: "Cannot send session cache limiter"
- Previous message: Ashley M. Kirchner: "Re: AW: [PHP] Help with PNG creation script"
- Next in thread: Al: "Re: [PHP] Another Session Question"
- Reply: Al: "Re: [PHP] Another Session Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]