I've been looking up information on cflock and cftransaction lately, I'm sad to say that I haven't had any experience using them in the past. Am I correct in saying that as a best practice cflock should always be used when you're accessing or modifying variables in Session, Application, or Server scopes? And you use the ReadOnly type when you're only going to access the variable, and exclusive when there's any chance it'll be modified?
I'm a little more confused about cftransaction. I understand that you can either commit or rollback queries with it, but is this also how you lock databases? If I don't want two people inserting new records into the database at once, would I just do a normal cftransaction with a commit at the end? Thanks in advance for any help. Pablo Nevares [EMAIL PROTECTED] ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists