Time Delay Loop
This is a loop to add a time delay to a page.
<!--- first action prior to the time delay --->
Here is your action prior to the time delay<br>

<!--- initialize the start time --->
<CFSET startTime = timeFormat(now(), "hh:mm:ss")>

<!--- initialize the end time --->
<CFSET endTime = dateAdd("s", 15, startTime)>

<!--- start the loop that will increment the time for 15 seconds --->
<CFLOOP condition="startTime lte endTime">

	<!--- increment the startTime until it is equal to the end time --->
	<CFSET startTime = timeFormat(now(), "hh:mm:ss")>

</CFLOOP>

<!--- second action after the time delay --->
Here is your action after the time delay.
 

cover
Buy Fusebox 5 & FLiP: Master-Class ColdFusion Applications
cover
Buy Fusebox 4 & FLiP: Master-Class ColdFusion Applications
cover
Buy ColdFusion Lists, Arrays, & Structures
cover
Buy ColdFusion XML Objects

Dedicated and Shared CF Hosting 2021