Hopefully this is a simple question.
Is this proper locking technique?
<cfif NOT IsDefined("application.dteToday")>
<cflock name="lcdc" type="EXCLUSIVE" timeout="5">
<cfset application.dteToday = #CreateODBCDate(Now())#>
</cflock>
</cfif>
where "lcdc" is the name assigned in the cfapplication tag of
application.cfm.
Thanks.
Chris
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com