Hey Calvin,
You've got the right idea, heres the final touch. Set the CFHTTP TIMEOUT="1"
so the request immediately times out! The the user doesn't wait around for
the response, it just sends it off and goes on with its processing 1 second
later. This works especially well with CFM pages since the ColdFusion engine
will continue processing a request even if the client times out (ASP and PHP
pages have the ability to stop processing).
Hope that helps,
Jordan
----- Original Message -----
From: "Calvin Moree" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 2:11 PM
Subject: Realtime Background Task
> We are currently using CF 4.5.1 on NT. I have an application where a user
> inputs data into a form and submits the form to another page that enters
the
> data into the database. What I want to do is at the same time as the data
> to going into the database, I also want the data to be sent to a totally
> separate page in the background. If I use CFHTTP the user can't continue
> until the CFHTTP is complete. I don't want the user to wait because they
> don't need a response from the background page. I just want to send the
> data and not retrieve anything back. Is there a tag or code I can use to
> perform this function?
>
> TIA
>
> Calvin
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists