Steven, I would take a look at using the Request scope where you can although that is a bit of a rub. Because I think you can only determine where to do this by knowing exactly what the application does and how it does it. Another approach (although I am sure this will be frowned on by some) is to look at ColdFusion Server and Application logs to see which variables are and have been causing problems and just lock those (look for errors with "thread" "threading" and/or "unknown exception" errors trace back and just lock those. Doing it this way may cut back on the effort a bit but you will have to keep on top of things in the logs. In addition, if you use CFStudio you might be able to get creative with extended replace but copious back-ups are needed before going that route.
I hope this is helpful. Mike Brunt Sempra Energy 213.244.5226 "Prediction is hard, especially when it's about the future." -----Original Message----- From: Steven Monaghan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 21, 2001 12:39 PM To: CF-Talk Subject: Complete lack of locking... I inherited an application that uses session variables and has no CFLOCK tags in it at all! All session variables have a CFPARAM in the Application.cfm, but even there it isn't inside a cflock. I was reading the docs and even if I set the locking to "Automatic Read Locking", I don't think I'm protected from potential locking problems. Am I understanding things correctly? Do I need to go through every bit of code, find where a session variable is referenced and put it in a ReadOnly lock, and find where a session variable is updated and put it in a Exclusive lock? TIA, Steve ------------------------------------- Steven Monaghan Oracle DBA / Cold Fusion Developer MSC Industrial Direct Co., Inc. Melville, NY [EMAIL PROTECTED] http://www.mscdirect.com ------------------------------------- This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others. Please notify the sender that you have received this e-mail in error by replying to the e-mail. Please then delete the e-mail and destroy any ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

