> The problem with this is that you can't just lock "part" 
> of the APPLICATION scope for example, if you want to do 
> something to only some stuff stored in the app scope you 
> need to use named locks - but if you do that you're gonna 
> have to be careful that you don't use a name that some 
> other application on the same server has used (perhaps 
> without your knowledge if on a shared server).

I don't know how well that would work, though, since the Application scope
is a structure - a variable - itself. I don't know enough about the
internals of CF to say whether it would be safe to only lock access to a
structure member, rather than to the structure itself, but personally, I'd
avoid it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to