You could do the same thing with your application name as you do the
datasource.
You could also create a configuration database, whenever a site is
requested it queries the database and asks what the datasource and app name
are for the site in the directory, which you gate through cgi.Path_Info.
At 09:21 AM 12/12/2000 -0600, you wrote:
>It is running two copies of the files in different directories. I have a
>variable called application.datasource that I set using an external
>encrypted text file in order to differentiate the two instances of the
>database, but if the application name is the same, it makes no sense...
>
>Thanks in advance for your help.
>
>-----Original Message-----
>From: Nick McClure [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, December 12, 2000 9:09 AM
>To: CF-Server
>Subject: Re: Two instances of the same application on the same server
>
>
>Is it running two copies of the files or is it the same files being
>accessed through a different domain or similar?
>
>At 09:05 AM 12/12/2000 -0600, you wrote:
> >Hi!
> >
> >I have an application that uses application variables. Everything works
> >fine, except when you install the same application on the same server. I
> >know that one way to distinguish the application is by changing the
> >attribute "name" in the cfapplication tag. Any ideas on how to dynamically
> >change this parameter? My current cfapplication tag looks like this:
> >
> ><CFAPPLICATION NAME="applicationname"
> >SESSIONMANAGEMENT="Yes"
> >SESSIONTIMEOUT=#CreateTimeSpan(0,1,0,0)#>
> >
> >Looking forward to read some opinions...
> >
> >Thanks!
> >
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com