Hi guys,
I'm trying to wrap myself around how sessions work. I'm using a simple counter script to begin the learning process.
Aren't sessions specific to each individual browsers instance? Once I open up a new browser, it retains the counter value of the last browser window that was opened. How can I make the counter reset to 0 each time I open a new browser window? Here's the script that I am using.
<?php
session_register ("count");
$count++;
?>
Hello visitor, you have seen this page <? echo $count; ?> times.
Thanks guys. 🙂