<applause/> Glad to hear that fixed it!
~David Matt E wrote: > All, > > We have resolved this issue. We went through and used varscoper to > find all of the variables that we needed to scope. We also made the > mistake of initializing some of our other CFCs inside the init methods > of out controllers. Obviously when reload was set to false this caused > a heck of a problem. Thanks for all the help. > > Matt > > On Jun 17, 8:06 pm, Mark Mandel <[email protected]> wrote: > >> I wrote this post back in 2004 that covered how to make CFCs thread safe, >> it's still pretty >> relevant:http://www.compoundtheory.com/?action=displayPost&ID=21 >> >> The only thing that could be added to it was 'Use Varscoper to check your >> Var scoping!' >> >> Mark >> >> On Thu, Jun 18, 2009 at 8:27 AM, Jason Fisher <[email protected]> wrote: >> >>> To expand on David's point about the global nature of 'variables' scope in >>> a CFC, note that Model-Glue caches your controller objects in application >>> memory, so any un-var'd CFC variable is 'sticky' within all instances of >>> that CFC ... and that CFC is shared across the application, so that's why >>> you have to use var to limit the variable usage to each method call. >>> >> -- >> E: [email protected] >> W:www.compoundtheory.com >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en For more about Model-Glue, check http://www.model-glue.com . -~----------~----~----~----~------~----~------~--~---
