Palyne, You should only use CFLOCK when you need to guarantee that shared data structures are modified correctly. Also, CFLock is useful for CFX tags for correct threading and for file manipulation. You do not use it for all session variables.
Respectfully, <cf_developer> Phillip B. Holmes Media Resolutions Inc. Premier Allaire Alliance Partner http://www.mediares.com [EMAIL PROTECTED] 1-888-395-4678 Voice: 972-889-0201 Fax: 972-490-8342 </cf_developer> Please mail support issues to: [EMAIL PROTECTED] ----- Original Message ----- From: "Palyne Gaenir" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 26, 2001 11:44 PM Subject: RE: differences in cf 4.5 vs cf 5 Dear Dave, Do your comments below infer that all the applications I have created the last few years which may use a session.value, I have to go through every page on every site and find all the session var references and put cflock tags around every one? Boy. That's a lot of work, if so.... Palyne On 21 Nov 2001, at 10:17, Dave Cahall wrote: > I do not think this should be effecting your page, but I notice > that you do not have CFLOCK tags around your queries and you are > using a session variable for the datasource name. You could also > convert the datasource name to the request scope in your > Application.cfm file and avoid the need for the CFLOCK tags (which > I highly recommend). My experience says this will be a REAL > problem in CF 5.0 is you have shared scope variables without using > CFLOCK tags. ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
