Hey,
 
i just tested it: i created for each application a destination and a channel. I traced out ServerConfig.xml to make sure the right configuration was loaded.
 
The same problem happened there. I now have a very simple setup when it comes to CFC code:
 
Application.cfc
 
<cfcomponent>
 <cfset this.name = "app1" /> <!--- app2 in the other one --->
</cfcomponent>
 
App.cfc
 
<cfcomponent>
 <cffunction name="test" access="remote" returntype="any">
  <cfreturn "TEST (#application.applicationName#): #getDirectoryFromPath(getCurrentTemplatePath())#" />
 </cffunction>
</cfcomponent>
 
The output for both applications:
 
TEST (app1): C:\wwwroot\App1\
TEST (app1): C:\wwwroot\App2\
 
If i restart my server and call app2 first, this is the output:
 
TEST (app2): C:\wwwroot\App2\
TEST (app2): C:\wwwroot\App1\
 
 
Greetz Erik
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to