Gee.. I dunno.  I had a problem with a script of mine and when I removed the
unlocked read of IsDefined() the problem went away...

> 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
>
>
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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

Reply via email to