Thomas, this will leave a running thread on the sever though, eh?  
Could be an issue especially when ling DB times are occuring.

Doug

----- Original Message -----
From: Thomas Chiverton <[EMAIL PROTECTED]>
Date: Mon, 20 Sep 2004 15:51:15 +0100
Subject: Re: Coding question ?
To: CF-Talk <[EMAIL PROTECTED]>

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

Leaving aside the issue of nothing should ever take that long in a database,
the normal approach would be to have a hidden frame or setTimeout'ed
_javascript_ function reload the page after 5 seconds, setting some parameter
to indicate to do something different.

--
Tom Chiverton
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to