How about:

<cfoutput>
Some standard stuff for the user
</cfoutput>

<cfflush>
<!--- Your background page processing stuff --->

Spike

[EMAIL PROTECTED] wrote:

This email is to be read subject to the disclaimer below.

Hi all,

Here's a good one for y'all. How can I background the processing of a cfm
template, ie return a page to the user but continue processing another .cfm
page in the background, discarding its output? This is pretty much what
<cfexecute> does with the timeout set to 0, except with CFMX we no longer
have a convenient way of executing .cfm files from the command line (ie no
more cfml.exe).

Some of the options I've thought about:
- use <cflocation> to present another page to the user while the first one
continues to process the code below the <cflocation> call
- use a scheduled task that runs every minute, checks for new background
jobs and executes them
- use cfhttp to call another .cfm file on the local machine, set the
timeout value to something really short and ignore timeout errors

All of these are somewhat kludgy and I was wondering if anyone could
suggest a better solution.
Thanks in advance

Cheers,
Vik
-----------------------
Viktor Radnai
Web Developer
Ernst & Young Australia
http://www.eyware.com/
http://www.eyonline.com/
http://www.compassweb.com.au/
Direct: +612 9248 4361
Fax: +612 9248 4073
Mobile: +61408 662 546

--------------------
NOTICE - This communication contains information which is confidential and
the copyright of Ernst & Young or a third party.

If you are not the intended recipient of this communication please delete
and destroy all copies and telephone Ernst & Young on 1800 655 717
immediately. If you are the intended recipient of this communication you
should not copy, disclose  or distribute this communication without the
authority of Ernst & Young.

Any views expressed in this Communication are those of the individual
sender, except where the sender specifically states them to be the views of
Ernst & Young.

Except as required at law, Ernst & Young does not represent, warrant and/or
guarantee that the integrity of this communication has been maintained nor
that the communication is free of errors, virus, interception or
interference.

Liability limited by the Accountants Scheme, approved under the
Professional Standards Act 1994 (NSW)
--------------------




--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/





-- Stephen Milligan Consultant for hire http://www.spike.org.uk



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to