Howdy all - 
 
Does anyone know why I can't access the the 'application.applicationname' 
variable while in an extended CFC?
 
Ex:
 
wwwroot/Application.cfc
-----------------------
<cfcomponent output="false">
    <cfset this.name="CFLHDIntranet">    <cfset this.sessionmanagement="yes">   
 <cfset this.SetClientCookies="no">    <cfset this.loginstorage="session">
</cfcomponent>
-----------------------
 
wwwroot/SubFolder/Application.cfc
-----------------------
<cfcomponent extends="CFLHDIntranet.Application">
      <cflogin applicationtoken="#application.applicationname#"></cflogin>  
<--- (1)      <cfoutput>#application.applicationname#</cfoutput>                
       <--- (2)
</cfcomponent>
-----------------------
1) Original code, throws error: "Element APPLICATIONNAME is undefined in 
APPLICATION."
 
2) I commented out (1), then just tried to output this line. same error. Though 
if I comment them both out, I will see in the CF debug: 
Scope Variables - Application Variables:applicationname=CFLHDIntranet
Thoughts?
 
Thanks for your time - 
 
Brent Nicholas -  "There, I guess King George will be able to read that!" - 
John Hancock

You are subscribed to cfcdev. To unsubscribe, please follow the instructions at 
http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

An archive of the CFCDev list is available at 
www.mail-archive.com/cfcdev@cfczone.org

Reply via email to