As long as you can access java this will work:
<cfoutput>#now()#</cfoutput>
<cfset sleeper = createObject("java","java.lang.Thread") />
<cfset sleeper.sleep(5000) />
<cfoutput>#now()#</cfoutput>
Paul
On Wed, Sep 14, 2011 at 12:58 PM, Mo Lay <[email protected]> wrote:
>
> Hi guys,
>
> Is there an alternate option other than "sleep" to pause the execution for
> 5 sec as it is not supported in CF MX 7?
>
> thanks
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5602
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm