Learning ColdFusion 8: CFThread Part I - Data Exchange

<!--- Launch a child thread. --->
<cfthread
	action="run"
	name="MyThread">
 
	<!--- Create a local variable. --->
	<cfset Message = "Great Scott!" />
 
</cfthread>
 
<!--- Join the child thread to the curren page. --->
<cfthread
	action="join"
	name="MyThread"
	/>
 
<!--- Output the message from the child thread. --->
#MyThread.Message#

For Cut-and-Paste