Solved

Sharing CF Application variable among sites on Cold Fusion Server

Posted on 2002-06-24
3
175 Views
Last Modified: 2013-12-24
on cold fusion server 5.0, can you set it so that the
cfapplication variable only ties to one website?
meaning, if two application .cfm files have the same <cfapplication..> name on the same server, how you can make it so that they can't access each other's data sources or variables.

is this something allaire/macromedia has posted patches/solutions to?

*********************
<cfapplication name="AppName" sessionmanagement="Yes" clientmanagement="yes" sessiontimeout="20">
********************
0
Comment
Question by:sagardeo
3 Comments
 
LVL 17

Expert Comment

by:anandkp
ID: 7106808
Hi,

Could u repeat what exactly u want to do ???

K'Rgds
Anand
0
 

Author Comment

by:sagardeo
ID: 7107656
in cold fusion server 5.0, can you restrict a website from using certain <cfapplication..> names? i.e can you set it so that a given website running on cold fusion server 5.0 can only use a certain <cfapplication..> name?

so if the webhoster say wanted website 1 to only use "Website1LoginApp" as the <cfapplication..> name,
the developer for website 1 would have to use the below line in their application .cfm file.

********************************
<cfapplication name="Website1LoginApp" sessionmanagement="Yes" clientmanagement="yes" sessiontimeout="20">
********************************

how can this be done?
0
 
LVL 5

Accepted Solution

by:
Yog earned 500 total points
ID: 7107719
yeah you can assign one application.cfm file per web site the admin creats, normally the application.cfm is in the root directory of the particular website.

you cant create 2 application.cfm for one site, you can ofcourse in any of the subdirectory but it means they are
two different applications

for example you have created site1, and it points to c:\inetpub\wwwroot\site1 , you have one application.cfm file within site1

ie c:\inetpub\wwwroot\site1\application.cfm , if you create more application.cfm within subdirectories if c:\inetpub\wwwroot\site1 then it becomes a seperate application.

if you can create 2 sites, site1 and site2, you can use 2 applications like
c:\inetpub\wwwroot\site1\
c:\inetpub\wwwroot\site1\
which are 2 seperate applications and they will be in different ports of IIS. The default one will be in port80, if you create a new one maybe on port81, you have to access it like

http://servername/site1/  (default 80)
http://servername:81/site2/

cheers.

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
json_decode return null? 8 69
RewriteRule to Include HTML, but Not Affect Images 4 71
SSL sertificate 5 57
DNS @ Naked Domain Record 5 61
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
A short film showing how OnPage and Connectwise integration works.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

929 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

10 Experts available now in Live!

Get 1:1 Help Now