Skip to main content
Participant
July 12, 2023
Question

inconsistent application variables

  • July 12, 2023
  • 0 replies
  • 115 views

I am using multiple subdirectories each with applicaiton.cfc and unique application name. Users are being redirected from one directory to another by using <cflocation>. I am declaring all variables on 

<cffunction name="onApplicationStart"     returntype="void">
<!--- Create application variables --->
<cfinclude template="includes/variables.cfm">
<cfreturn />
</cffunction>

 

But almost 30% users experience this type of error (variable is different all the time)

 

Element IAE.PATH.URLROOT is undefined in APPLICATION.

Element IAE.PATH.INCLUDES is undefined in APPLICATION.

even these variables are already defined in variables.cfm.

    This topic has been closed for replies.