> From: Brian Coleman [mailto:[EMAIL PROTECTED] 
> Does anyone know of a way to serve up files and record how 
> many times the file's been downloaded?

Assuming the download is served based on an ID or document name, use that ID
or name to increment a counter (in the DB most likely) THEN serve the
document. Wrap the cfheader/cfcontent in a cftry/cfcatch block and if an
exception is raised, decrement the counter and handle the event as you see
fit.

Tango



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235882
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to