Learning ColdFusion 8: CFThread Part I - Data Exchange

<!--- Set the page to timeout after two seconds. --->
<cfsetting requesttimeout="2" />
 
<!--- Output the current time. --->
#TimeFormat( Now(), "h:mm:ss TT" )#<br />
 
<!---
	Now, let's cause the page to sleep for five seconds.
	Let's see if this will cause the page to timeout.
--->
<cfthread
	action="sleep"
	duration="#(5 * 1000)#"
	/>
 
<!--- Output the current time again. --->
#TimeFormat( Now(), "h:mm:ss TT" )#

For Cut-and-Paste