I was horsing around and figured it would be nice to move my application variables into a table that can be loaded onApplicationStart.
My intent is to allow ANT to roll out the app, and change a few settings in the database and the proverbial presto..
In my test code, the application.cfc has a simple query to call all the variable names and then a cfloop to set each variable within the application scope as application.varname.
There is no error reported onApplicationStart .. however trying to reference the variables gives an undefined type error.
My spider senses tell me this is something small and obvious... any ideas?
Thanks!!
Update 1 : It seems what I'm looking at is setting dynamic variable names and the fact that they are application variables don't seem to have much impact..
http://www.bennadel.com/blog/152-Dynamic-ColdFusion-Variables-Via-Quoted-Naming.htm