I have this issue also on long running requests that create files. What I
did (with some help from this list) is create a second cfm page that
actually does the work and call it from the page that informs the user
that the request is being performed. When it's done, I send an email to
the user letting them know where to download their file from:
In the page manifest.cfm (where they set their parameters), the action
looks like this:
I have to "create" the querystring using the passed variables (form or
otherwise). The trick is in the cfexecute statement, which spawns off, so
the requesting page doesn't wait for it...
<CFSET
querystring="bypass=1&locstart=#locstart#&locend=#locend#&createfile=1&emai=
#email#&minqty=#minqty#&listedat=#listedat#&condition=#condition#&pro
ducttype=#producttype#">
<CFEXECUTE NAME="d:\web\cfusion\bin\cfml.exe"
ARGUMENTS="d:\web\lviss.hitmenow.com\manifest.process.cfm
#querystring#"
TIMEOUT="0"></CFEXECUTE>
<CFOUTPUT>
<P>Thank you. Your manifest is being created.
You will be emailed at <B>#email#</B> when the
file is ready for download.</P>
</CFOUTPUT>
> Hi everybody -
> I have an intranet that is used to print out large quantities of
> documents to the local printer. When CF is processing this request, it
> can sometimes take hours to finish. The problem is that the browser
> eventually reaches timeout and the process quits without finishing. Is
> there any way to prevent the browser from timing out? Or should I look
> into something else - like batch processing?
>
> Thank you,
> - Matt Small
>
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists