Request Variable Not Recognized In application.cfm In Root, SubFolder Has Another application.cfm
I'm on CF7. I have a couple of sub folders and in one of them there is an application.cfm file. There is also one in the root. In the root application.cfm I set a a request variable called Request.DataSource. The CFM pages in the sub folder do not see it and it throws an error. So I put the same CFSET of Request.DataSource in the application.cfm of the sub folder and it mysteriously started working. Question... WTF? I know in CF6 that it goes to the subfolder application.cfm first, and then if it doesn't find it, it works it's way back out to the root application.cfm. So what gives?
Start Free Trial