Session cookie problem
Posted: Mon May 26, 2003 1:21 am
Hi,
I have a simple question that boders my mind. I'm using a session which controls counter "mechanism".
After session declaration, start...., which is typical, I've got something like this:
Everything else is OK (class object $statistic works fine), but on some systems, like WXP, the session seems not to write it's cookie to the user system, because after clicking on some url on my site counter increases. I have the same script on some other server and there it's OK. I don't know where the problem is. Maybe I should always check if the session cookie is set and if not put the session id through the url 
I have a simple question that boders my mind. I'm using a session which controls counter "mechanism".
After session declaration, start...., which is typical, I've got something like this:
Code: Select all
if(!isset($_SESSIONї'hit'])) {
$_SESSIONї'hit'] = $statistic->counter(); // hit=counter_value
}