Does anybody have any insight into using PHP Sessions on an IIS based web server? The problem I am having is that I am using PHP sessions in my counter to make sure that a user is only counted once per visit. It is supposed to ignore them as they click through links on my site. This works great on my Apache based server, but only works for Dial up users on The hosting Service's IIS based server. Broadband users are counted for every click. Tech support informs me that the sessions are in fact being created. the code is as follows:
session_start();
if (!session_is_registered("counted"))
{
mysql_query("UPDATE simplecount SET count=(count + 1) WHERE count_id=1") or die ("unable to UPDATE the database.");
session_register("counted");
}
Thanks.