> > How many times have you referenced a Session variable or 
> >called CFFILE without using CFLOCK?
> 
> Using <cflock> with <cffile> is new to me. What is the reason 
> for that?

Whenever you have a resource that can only be accessed by one request at a
time, you'll want to single-thread access to the resource. With a text file,
there's only one copy of the file on the filesystem, so if you want to have
people write to the file, for example, you might want to lock it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to