is this memory leak issue present in cf5, btw? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter H Sent: Thursday, May 05, 2005 7:48 AM To: [email protected] Subject: Re: [CFCDev] CFC variable scope leakage
Thanks guys. There's something uncomfortable about the un-named scope so glad I can switch. Pete (aka lad4bear) ----Original Message Follows---- From: "Peter J. Farrell" <[EMAIL PROTECTED]> Reply-To: [email protected] To: [email protected] Subject: Re: [CFCDev] CFC variable scope leakage Date: Thu, 05 May 2005 07:04:10 -0400 Peter H wrote: >Hi guys, > >The book I'm using (ColdFusion Mx Bible) states that I shouldn't use >the Variables scope for instance variables but should use the >Unnamed scope instead. The reason? There was a bug in version 6.0 >that allows Variables to leak to the calling template. Does anybody >know if this still applies in version 6.1? > >Cheers, Pete (aka lad4bear) > Unless, I'm going completely crazy...that problem was corrected in 6.1. Go ahead and use the variables scope for your [private] instance variables. Best, .Peter P.s. Most of the CF books are "out-of-date" regarding CFC usage. -- Peter J. Farrell :: Maestro Publishing blog :: http://blog.maestropublishing.com email :: [EMAIL PROTECTED] Create boilerplate beans! Check out the Mach-II Bean Creator - free download. http://blog.maestropublishing.com/mach-ii_beaner.htm J'ai uni ame solitaire. -- ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
