RE: [coldbox:11839] Application Variable

Because reiniting the framework doesn’t not clear the entire application scope-- only the ColdBox parts.

That cfparam doesn’t kick in again because the variable still exists.

Try using the application storage plugin (which is reinitialized with the framework), or set up an interceptor that listens to configuration load and resets stuff like that.

~Brad

Can you give me an example of using the application storage plugin? this sounds like what I want.

In the Main.cfc

application.class = getPlugin("ApplicationStorage").getVar("class", getSetting('Class'));

Will this work or does using the application.class invalidate the use for this?