Thank you , that is very kind of you! Quick question, look in your databse and see if you have multiple records for any one IP_ADDRESS, If an Ipaddress is in there more than once then it will not update the amount of time they have visited your site, This because the cfif statment is looking for either 0 record count or just 1 record count. If there are more than one then neither the cfif or the cfifelse statment will run. It's a little bug that i will have to fix to make this a better cf counter. If you do see that there are more than one record for each ipaddress then just delete all the extra ones and then it should start to work. other than that i really cant see anything wrong with the code. I will keep looking at it though.