At 10:30 AM 11/28/00 , you wrote:
>Get the value in a lock, then test the value after closing the lock. A 
>good technique for all locking to make the locked section as quick as possible.
>
>< cflock>
>   < cfset variables.myvar = session.myvar>
>< /cflock>
>
>< cfif isdefined("variables.myvar")>

uh, if session.myvar is not defined, won't the line within the cflock crash ??




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to