> 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")>

That won't help; if the variable doesn't exist, the cast will throw an
error.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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