trouble writing a script for download
hello,
I am fairly new to Coldfusion and I need help. I recently wrote some code attaches to a button to let user download some soundfiles. The hosting company complaint that this page sometime runs for a long time (like a minute or longer). I think I am using some pretty standard techniques and have no idea of what's wrong, could someone help me to identify the problem? Here are the codes:
(... codes to cfset shortsf and sf ...)
<cfoutput>
<cfheader name="content-disposition" value="attachment;filename=#shortsf#">
<cfcontent type="audio/x-ms-wma" file="#sf#">
</cfoutput>
Any help is much appreciated.
Kitling Cheung.
