<cftransaction>
<!--- make sure we
retrieve a valid record --->
</cfif>
</cftransaction> <cfif filedetails.recordcount> From:
John Beynon [mailto:[EMAIL PROTECTED] Ah yes,
if I remove the transaction block it works. I need to make sure that in between
querying the db for the file details and updating the download count another
'download' doesn't sneak in, hence the use of cftransaction. If I complete the
transaction block before serving the file I'll be spanning the <cfif>
that checks if a record is valid so my code would end up looking like: <cftransaction>
<!--- make sure we
retrieve a valid record --->
</cftransaction> Any
ideas? -----Original
Message----- > It
sends the file for download but doesn't update the download count Try
completing the transaction before serving the file. Stephen
-- To
unsubscribe, e-mail: [EMAIL PROTECTED] _____________________________________________________________________
|
Title: RE: [ cf-dev ] serving files with cfcontent
- [ cf-dev ] serving files with cfcontent John Beynon
- Re: [ cf-dev ] serving files with cfcontent Stephen Moretti
- RE: [ cf-dev ] serving files with cfcontent John Beynon
- Re: [ cf-dev ] serving files with cfcontent Robin Griffiths
- Re: [ cf-dev ] serving files with cfcontent Stephen Moretti