Looks like you should use a named lock and not a scope lock, as this has
nothing to do with variable scopes.

That is if you just want to block a section of code to one user at a time do
this:

<CFLOCK name="MY_APP_CRITICAL_SECTION1" type="EXCLUSIVE" >

... single threaded fuse code...

</CFLOCK>

you might also want to look at the docs on CFLOCK about timeout and
throwontimeout - if this operation is slow.

HTH,
Noam
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to