On 4/25/07, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> We have a group of CFC's which currently exist in the application scope of
> each website (and there will be hundreds of these sites) we publish from our
> CMS. Now, these CFC's are common across all sites so I was thinking of
> moving these common objects across to the server scope.

The problems I tend to see in cases like this are scoping issues when
the CFCs are being concurrently called by multiple sites.  It may pay
off to take a few minutes and make sure you are using the VAR keyword
consistently inside all your CFC methods and don't have any other
variable scope issues that might cause Site A to mysteriously start
getting Site B's results from the CFCs.

-Cameron

-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell:  678.637.5072
aim:   cameroncf
email: [EMAIL PROTECTED]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276234
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to