I'm curious why you advocated the use of cflock here? I didn't read his original message, only the part your quoted, but it sounds like all he is doing is reading in config data, static type data.
He is setting an application variable and there is (presumably) quite a bit of overhead involved in creating the CFC - it reads from a config file etc - so the lock is simply 'best practice' to ensure the initialization doesn't occur twice and, in particular, doesn't occur twice at the same time!
Sean A Corfield -- http://www.corfield.org/blog/
"If you're not annoying somebody, you're not really alive." -- Margaret Atwood
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
