Problems With Application Variables

I have two applications that are located in their own subdirectories and each subdirectory has its own application.cfm file. I can only get one of them to be recognized. When I log in to one area it uses the other applications application variables. I stop and start cold fusion and then reload and everything works fine but then when I go to the other application the same problem happens in reverse. Continuous stopping and starting of the service is not a viable option since we have non-technical people accessing these applications. Any idea how to make it so I can use both sets of application variables simultaneously?
emoreyAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
CF_SpikeConnect With a Mentor Commented:
If you give your applications different names you shouldn't be having this problem. If the applications have the same name you will find that the application variables are shared between all identically named applications on the same server. The obvious solution in this case is to rename one of the applications in the cfapplication tag in application.cfm. This may require some fixing and tidying of code if you are referring to the application variables in the application pages.

If the applications aren't named identically then I'd be interested to know more about the configuration.

Spike
0
 
emoreyAuthor Commented:
Doh! I didn't realize it but it turns out I had them named the same. Thanks for the quick and accurate response.
0
All Courses

From novice to tech pro — start learning today.