Btw, what you describe is an excellent way to copy application variables
from another application. This would be a trivial UDF in MX

<cfapplication name="other_app">
<cfset appData = duplicate(application)>
<cfapplication name="orig_app">

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 18, 2003 12:11 PM
> To: CF-Talk
> Subject: RE: [cflogin] okay, I think I have it...except for 
> one little part...
> 
> 
> <snip>
> >No. Having an Application.cfm file in a folder does NOT define an 
> >application. The <CFAPPLICATION> tag does. So, the 
> Application.cfm file 
> >in /SUB cfincludes the Application.cfm file in /. That one uses 
> ><cfapplication name="whatever">, so both folders share the same 
> >application space.
> </snip>
> 
> ...just a side question for my curiosity Jeff...I'm hijacking 
> some of your thread is all!
> 
> Ray...I usually just use the cfapplication tag in an 
> application.cfm file in a sub folder and use the same 
> application name as the folder above it and everything works 
> fine.  Perhaps this is bad form or something?  I've never 
> heard anything bad about it and it works splendidly.  
> 
> kind of like this
> /application.cfm has cfapplication tag with name="foo" 
> /sub/sub/.../application  has cfapplication tag with 
> name="foo" and all the app related vars are available in both places.
> 
> Doug 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to