Someone from this list gave this ....
<cfset lockname = CreateUUID()>
<cflock name="#lockname#" type="readonly" timeout="0">
        <cftry>
                <cflock name="#lockname#" type="exclusive" timeout="5
">
                </cflock>
                <cfcatch type="lock">
                </cfcatch>
        </cftry>
</cflock>

On Wed, 26 Dec 2001, Joel Blanchette wrote:

> Hello Allo,
>       Ids there a way to make a pause withina script?  I know that in
> JavaScript I can use the command settimeout but is there such a time in
> ColdFusion?  I was thinking about doing a cfloop over a 1000 steps.  I
> just need like 2 second pause.
> 
> Thanks,
> 
> Joel
> 
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to