If you are using CF 7, use OnRequestEnd in Application.cfc (or OnRequestEnd,cfm if using anything before CF 7). You could do a check in OnRequestEnd to see if its a page that serves up a download, and then perform whatever DB actions you desire.
On 12/19/06, Mark Leder <[EMAIL PROTECTED]> wrote: > > 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:264427 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

