I found this code in Ben Forta's book. It seems to do the trick. <cfset InitialTime= Now() > <cfloop Condition="DateDiff('s', InitialTime, Now()) LT 2"></cfloop>
-----Original Message----- From: Jim Davis [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 12:25 PM To: CF-Talk Subject: RE: Pausing a script There's no function, but you can do this easily by setting a time (or using GetTickCount()) and then doing a "While this time is less than whatever, keep looping" Should work fine. Jim Davis > -----Original Message----- > From: Luis Lebron [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 12:58 PM > To: CF-Talk > Subject: Pausing a script > > > Does CF have an equivalent of the PHP sleep function. I need > to pause s script for a few seconds. > > > Luis > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.