Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Problems With Application Variables

Posted on 2001-06-06
2
Medium Priority
?
135 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
2 Comments
 
LVL 4

Accepted Solution

by:
CF_Spike earned 400 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

926 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