So do you recommend locking all updates, even if no session or application variable is around? If so, do you use named locks versus scoped?
Andy -----Original Message----- From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 10:44 AM To: CF-Talk Subject: RE: Do I need to lock around queries? > Would locking include such things as checking if statements, ie: > > <CFIF NOT IsDefined ("SESSION.var")> > Run some code > </CFIF> You only need to lock to update, reading does not need a Lock, unless you're REALLY paranoid about it changing information while your code is running Philip Arnold Technical Director Certified ColdFusion Developer ASP Multimedia Limited Switchboard: +44 (0)20 8680 8099 Fax: +44 (0)20 8686 7911 www.aspmedia.co.uk www.aspevents.net An ISO9001 registered company. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. 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