For now go into CF ADMIN and set
Single Threaded Sessions When checked, all requests are single threaded by session ID. This guarantees that any potential variable contention caused by simultaneous requests in the same session will not occur. Also, when checked, CFLOCK is no longer needed to lock access to session scope variables. then you can take your time to go through and lock everythign becuase single threaded slows down your pages but its better then a crashing server ;) Bill Wheatley Director of Development Certified Advanced ColdFusion 5 Developer AEPS INC Allaire ColdFusion Consulting Partner www.aeps.com www.aeps2000.com 954-472-6684 X303 ICQ: 417645 ----- Original Message ----- From: "Steven Monaghan" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, November 21, 2001 3:39 PM 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists