Maybe a bit more complex a solution then you are looking for.  But you can
simulate a forked thread by putting the query in a separate page that runs
the query and stores it as wddx packet, then call the page using cfhttp from
another ColdFusion page.  The calling page can wait a give amount of time to
see if the cfhttp.filecontent returns....


I could go into more detail if you really wanted to try something like that.


Patrick McGeehan

Applications Developer

DIT

<CF_DIT>#mcg#</CF_DIT>

-----Original Message-----
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 10:51 AM
To: CF-Talk
Subject: Re: Coding question ?

On Monday 20 Sep 2004 14:53 pm, applemicro wrote:
> I have a page that will display infromation from a remote database.
> What i want to do is display the information from the remote database
> but if the query to the remote database takes long then 5 sec I want
> to abort the current query and query my local database which contains
> a versions of the data but is 24 hours old
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to