If you can safely rely on a condition to return true when your other code is
finished, you can use
conditional loop. Be sure to put in a counter at least during testing so you
don't hang your server.
<cfset counter = 1>
<CFLOOP CONDITION="doUntilTrue">
    <cfif isDefined("returnValue") or counter is 100>
        <cfbreak>
    </cfif>
    <cfset counter = IncrementValue(counter)>
</CFLOOP>
----- Original Message -----
From: "Herman Cremer" <[EMAIL PROTECTED]>
To: "CF-Server" <[EMAIL PROTECTED]>
Sent: Monday, February 05, 2001 3:12 AM
Subject: delay


> Does anymone know how I can put a "wait" part in a page ?
>
>
> The bottom part of the page must wait for a second or two,
> so the other parts of <CFEXECUTE> has finiseh.
>
> Part1
>     wait a second
> Part2
>
>
> any ideas ?
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to