Loathe said:
> If I wanted to say have a template pause for 10 seconds, how would
> you do that, I mean, I can think of a couple of looping ways that
> would accomplish about the same thing, but I remember seeing a Java
> class that does this properly.

<cfset lockname = CreateUUID()>
<cflock name="#lockname#" type="readonly" timeout="1">
  <cflock name="#lockname#" type="exclusive" timeout="10"
throwontimeout="no">
  </cflock>
</cflock>

Jochem




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237805
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to