You would just run your query to update the count at the same time you run
the cfontent tag to push the file to the user. Running the query just AFTER
the cfcontent tag would let you know that every count was atleast a prompt
to download the file. They could still be counted and simply hit close or
concel on the download prompt or even download half of the file and then
cancel though. I don't think you are going to get around that in any easy
way. If you do though, by all means let us know how :-)

..:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

 


-----Original Message-----
From: Mark Leder [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 7:46 AM
To: CF-Talk
Subject: Counting Cfcontent Downloads

When using CFContent, how would I write to a db AFTER a file is downloaded
(such as a counter/date) in the background, without opening a new page?  I
do have each file listed in a db, with all the normal file scope fields
(size, name, etc).


[This E-mail scanned for viruses by Declude EVA]





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264428
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to