Yes, it should be read-locked. CF tries to read the var to see if it exists.
Full checking doesn't really matter. Good to have it on to help, but don't trust it.
Don't trust "auto read locking" either.
Chris Norloff
---------- Original Message ----------------------------------
from: "Chuck McElwee" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
date: Mon, 18 Mar 2002 19:33:53 -0500
>Should the statement <cfif isDefined("session.sessionid")> be locked? 'Full
>Checking' in CF admin does not object. I've almost convinced myself that
>it's OK because (I'm making this up) that it is ONLY referencing the pointer
>to, not the actual value of, the session variable.
>
>Chuck McElwee
>etech solutions inc
>www.etechsolutions.com
>
>
>-----Original Message-----
>From: Dave Watts [mailto:[EMAIL PROTECTED]]
>Sent: Monday, March 18, 2002 6:47 PM
>To: CF-Talk
>Subject: RE: CFLOCK all the time?
>
>
>> Should we CFLOCK every session and application variable
>> or just application variables?
>
>Yes, you should lock every Session, Application and Server variable, in
>every case in which you reference them.
>
>> I know that using CFLOCK can cause some performance
>> issues.
>
>Actually, it's not using CFLOCK that will cause the performance issues under
>load. Your server may very well crash.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444
>
>
>
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.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