coldfusioncoldfusion-8application.cfc

Coldfusion Application variable magically becomes undefined?


I'm trying to build an application that uses application.cfc instead of application.cfm. I'm running into a problem...I defined my dsn in my onApplicationStart() as application.sacsds. However, when I go to use in a cfc of mine, I get an error saying it is undefined.

<cfquery name = "getSecurity" datasource="#application.sacsds#">

Sorry for the simply question...I just couldn't figure this out.


Solution

  • So, I dumped the scope within my CFC and found out it is completely wiping the application variables with other application variables. I think the issue lies within the login custom tag that is global to our domain. :( I'll have to have a word with someone.