Thanks Chris. I'm actually getting there right now. Typical how these things 
happen just as you put a post on :).

Cheers again,
James


>I think it would actually be pretty simple.  You need to get a list of
>applications (or hard-code the ones you want it to update)
>
>Then just do (psudo-code):
>
>Loop all your applications
>
>       <cfapplication name="#appName#">
>               <cfset vars to whatever >
>
>End loop 
>
>This should set the vars into each app name you specify as it loops.
>
>Chris
>
>
>-----Original Message-----
>From: James Buckingham [mailto:[EMAIL PROTECTED] 
>Sent: Wednesday, May 30, 2007 8:07 AM
>To: CF-Talk
>Subject: Accessing another cfapplications scope
>
>Hi everyone,
>
>I've built a little bit of code which loads an .ini file and updates a
>single app's application scope with any changes. I've been asked to
>redesign this though so when we do an update in the ini and hit
>'refresh' the code goes through ALL of our applications and applies the
>updates to all of their scopes. 
>
>I've had a look around online and found a few articles which talk about
>the theory of being able to see the application scopes of all the other
>applications on an environment but I was wondering if anybody had any
>examples which show how one application can update the information of
>another?
>
>One idea we've had is to setup an include in each application. CFHTTP to
>that page and process the requests from there. That means hard coding a
>list of every application we have on the server though so I'm holiding
>on to that one as a "plan b" until I find out if I can access some kind
>of Java object in order to gather this information dynamically and run
>this off one page.
>
>Does anybody have any ideas?
>
>Cheers,
>James

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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

Reply via email to