I'm trying to find the best way to count hits on multiple files on a photoshare site.
Each photo (jpeg) is called using a .cfm page (to include the next/prev
interface and photo details) like this:
http://www.imvamp.com/photoshare/?action=browse&grid=Pokimon&phid=1787&colid=1&cols=3
Questions:
1. Is there a better solution then to include a <CFQUERY>UPDATE</CFQUERY>
in the bottom of each page to count hits?
2. Is it possible to somehow use IIS log files to intereprt hits better?
(we have LOG visit turned on on those resources)
3. If that's the only solution, can someone explain how can I make use of the
cftry/cfcatch thing on the <CFQUERY>UPDATE section so that if an erro
occur in the update process to the db will be down, users will still see the image
without a cf error.
Thanks!
Michael.
http://share.imvamp.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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