Nope.

ColdFusion default variable scope in a component is global to that 
component without use of the var keyword.  Using var makes that variable 
local to the method call and out of scope after that.


Matt E wrote:
> We have not scoped our CFC variables, but we don't have any global
> variables. They are all nested inside of methods, shouldn't the
> default variables scope be enough?
>
> On Jun 17, 10:32 am, David Henry <[email protected]>
> wrote:
>   
>> Hi Matt,
>>
>> I'm just guessing here but have you var scoped your cfc variables?
>>
>> There is an app called Varscoper that can help track down missing var
>> statements.
>>
>> David
>>
>> Matt E wrote:
>>     
>>> Sure,
>>>       
>>> Basically we are using CF 6.1 (Forced upon us). We have the back end
>>> broken up into controllers, models, daos, and gateways. Controllers
>>> call the model methods, which can call other model methods or dao and
>>> gateway methods to return a value. DAO return objects while the
>>> gateways return arrays or queries. After that we set out event values
>>> in the controller for the viewstate. I'm sorry though I cannot paste
>>> my modelglue xml file because of company proprietary reasons.
>>>       
>>> On Jun 17, 10:23 am, Dan Wilson <[email protected]> wrote:
>>>       
>>>> Matt E,
>>>>         
>>>> Can you give us a brief overview of the architecture of the application?
>>>>         
>>>> Pasting the ModelGlue.xml ( athttp://modelglue.pastebin.com) would also be
>>>> helpful.
>>>>         
>>>> DW
>>>>         
>>>> On Wed, Jun 17, 2009 at 10:19 AM, Matt E <[email protected]> wrote:
>>>>         
>>>>> I don't think the sessions are shared, and I'm not sure it's caching.
>>>>> I mean me and another developer are viewing from different machines
>>>>> and different browsers and are getting the same data and sometimes an
>>>>> error.
>>>>>           
>>>>> On Jun 17, 10:17 am, Zac Spitzer <[email protected]> wrote:
>>>>>           
>>>>>> does it look like the sessions are being shared or is it more like
>>>>>>             
>>>>> caching?
>>>>>           
>>>>>> On Thu, Jun 18, 2009 at 12:14 AM, Matt E<[email protected]> wrote:
>>>>>>             
>>>>>>> We have an application that is used to support around 70 concurrent
>>>>>>> users. Because we are still in beta, luckily the most we have use the
>>>>>>> app concurrently is about 3. We are having issues with the reload
>>>>>>> value set to false in our production environment. Users are receiving
>>>>>>> pages that other users have selected. We have CFTRANSACTION tags
>>>>>>> placed in our controller later so that anything underneath can be
>>>>>>> grouped accordingly. Your help is greatly appreciated.
>>>>>>>               
>>>>>> --
>>>>>> Zac Spitzer -http://zacster.blogspot.com
>>>>>> +61 405 847 168
>>>>>>             
>>>> --
>>>> “Come to the edge, he said. They said: We are afraid. Come to the edge, he
>>>> said. They came. He pushed them and they flew.”
>>>>         
>>>> Guillaume Apollinaire quotes
>>>>         
> >
>   

--~--~---------~--~----~------------~-------~--~----~
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 .
-~----------~----~----~----~------~----~------~--~---

Reply via email to