So I would be better off saving it to disk, then having the user
download the file directly? I guess doing this would release the
thread and IIS/apache would take the load of the download.

In this scenario how would I know when they have downloaded it so I
can then go around and clean up the files?

Thanks

Duncan

On 8/9/07, James Holmes <[EMAIL PROTECTED]> wrote:
> Yes, if you're serving that via cfcontent etc then the thread is tied
> up for the whole download.
>
> On 8/9/07, Duncan <[EMAIL PROTECTED]> wrote:
> > I have a question about thread use.
> >
> > If CF is feeding a 50mb file (OTT you might say, but this is just an
> > example!), say a pdf that has been generated, does cf use a thread
> > until that file has been completely downloaded by the user?
> >
> > On that basis if I have 3 instances and therefore 30 threads
> > available, each person downloading that file via a separate thread
> > lessens CF's ability to process other peoples requests - is that
> > right?
>
> --
> mxAjax / CFAjax docs and other useful articles:
> http://www.bifrost.com.au/blog/
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285923
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