?
Solved

Sharing CF Application variable among sites on Cold Fusion Server

Posted on 2002-06-24
3
Medium Priority
?
220 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:Judy Deo
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:Judy Deo
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 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

839 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