I have an idea, but its pretty twisted...
Let's say you make a Scheduled page in CFAS, and this page, when executed
will query your database for the most recent entered record and pass the
query results along to wherever you want.
What you could do, heh, is to write a batch file to modify the registry
entry for when this page is scheduled to execute. Or use CFREGISTRY
directoy. Set the scheduled template reg entries so the template executes
one time immediately, and the next time CFAS does its scheduled template
check, ka-pow, your page gets executed.
Of course, in this "batch processing" sort of mode, your Scheduled page
should gather up all new recordsets since the last time it executed.
Come to think of it, if the period between scheduled template executes is
wide enough, there might not be a lot of benefit to doing the registry part.
You could just schedule the page.
> -----Original Message-----
> From: Calvin Moree [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, May 07, 2001 1:12 PM
> To: Fusebox
> 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