I have recently implemented my own hit counter to my website in the application.cfm file. So far, it has received over 23,000 entries. Just by chance I noticed a problem that about 1 out of 1,000 of those entries have the CGI.HTTP_REFERER being returned missing the last character. So for example it would say the referrer is http://www.mywebsite.com/index.cf
without the "m" at the end. When you try to go to that page it comes up as non existent. But just to double check all my links, none of my links have the missing m. It seems it is being lost somewhere in the processing. Has anyone seen anything like this before? is there a particular browser that is causing this? Below is my code:
<cfquery name="Counter" datasource="#datasource#">
INSERT INTO tblHits(Page, Referrer, Agent, HitTime)
VALUES('#CGI.PATH_INFO#', '#CGI.HTTP_REFERER#', '#CGI.HTTP_USER_AGENT#', #dateadd("h",2,now())#)
Since it would take approx 1,000 more hits before i could even expect to see this happen again, any links/resources to confirm your findings would be great *IF* you have them. I wouldn't want to award a wrong answer since it would take a long time to "test" the solution.