I have a process which creates a PDF (with cfdocument) and pushes it out to
the client using the code below. It all works great, until...

If in IE (6 & 7) if you don't click one of the buttons (open/save/cancel) is
the File Down dialog, the process keeps running on the coldfusion server -
been watching the processes with fusionReactor. When a button is finally
clicked, the process ends. After a couple of days the server builds up a
number of these processes which eventually clags the server :-(

This doesn't happen if firefox 2. Haven't tested any other browsers.

Any one seen this and know how to resolve it?
TIA


<cfheader name='Content-Disposition'
VALUE='attachment;filename=#saveAsName#' />
<cfheader name="cache-control" value="" />
<cfheader name="pragma" value="" />
<cftry>
    <cfcontent type="application/pdf" file="#pdfName#" deletefile="yes"
reset="yes" />
    <cfcatch><!--- prevent unnecessary log entries when user cancels
download whilst it is in progress ---></cfcatch>
</cftry>

-- 
If you are not living on the edge,
You are taking up too much space.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:266658
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