Hello. I am trying to assign a dynamic application name by passing a URL variable from the root directory into an index.cfm file in another directory. For example, I'm on page index.cfm in the root directory and I want to pass the URL variable roomID with a value of 10 to rooms/index.cfm. The rooms/ directory has an Application.cfc file that needs to be named with this URL variables' value. Like this:
<cfset this.name = "Room_" & url.roomID>
It seems to be naming the Application file correctly. When I do a <cfdump> on the this- and application- scopes, the CFC gets named, but nothing on the pages work. I am using a lot of jQuery / AJAX features such as the $.ajax() function to retrieve text and output that text into <div> tags, so I'm not sure if that's what is causing the conflict or not. Thanks!