Hi Guys,

How can I get and display hits per day as well as total hits? Not only the
page hits, but every image that the viewer has downloaded from the server. I
am inserting into the database the hits per page (code below) but I want the
complete hits.

<cfquery name="qryHitCount"
     datasource="#DS#"
     username="#application.EC_SQL_UN#"
     password="#application.EC_SQL_PW#">
          INSERT INTO tblHitLog (HitDT, HitIP)
          VALUES (#NOW()#, '#cgi.remote_addr#')
</cfquery>

 I am sure there must be better way than to loop through that query the
amount of times that there are images on that page. It does not need to go
to a database. I have looked at a couple of custom tags  but can't seem to
find one that would address this. I hope this is clear.

Thanks,

Trace








~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to