Solved

Problems With Application Variables

Posted on 2001-06-06
2
130 Views
Last Modified: 2013-12-24
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?
0
Comment
Question by:emorey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
CF_Spike earned 100 total points
ID: 6160109
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
 

Author Comment

by:emorey
ID: 6160305
Doh! I didn't realize it but it turns out I had them named the same. Thanks for the quick and accurate response.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
What You Need to Know when Searching for a Webhost Provider
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question