Solved

Problems With Application Variables

Posted on 2001-06-06
2
124 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 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now