Solved

Sharing CF Application variable among sites on Cold Fusion Server

Posted on 2002-06-24
3
166 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

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

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…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

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

21 Experts available now in Live!

Get 1:1 Help Now