Solved

Problems With Application Variables

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

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

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…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

11 Experts available now in Live!

Get 1:1 Help Now