.how about CFLOCATION to the notification page first, then CFHTTP?

Patrick



-----Original Message-----
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
Sent: October 26, 2001 6:12 AM
To: CF-Talk
Subject: Generating reports in the background


I want a user to be able to specify the criteria for a report, dump the
criteria into a database, trigger a page that generates the report in the
background by specifying the ReportID value, then redirects the user to a
page saying "Your report is being created".

At the moment, I'm using CFHTTP to call the template that creates the
report. However, the CFLOCATION then doesn't redirect the browser until the
report has been generated - I want the CFLOCATION to happen straight away.

I don't want to use Scheduled Events as some reports will only take a few
seconds to run and the user won't like to have to wait another (say) 15
minutes before all the outstanding reports are triggered for a small report.

Any ideas on a good way of doing this? I'm sure the answer is simple but the
grey stuff is really struggling today...


Thanks in advance

--
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
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

Reply via email to