Nick Sweeney wrote:
> Thanks Ade,
>
> So - what that means is:
>
> If have two clients both running Fat Admin on the same server - but two
> different URLS.
>
> www.client1.com
>
> www.client2.com
>
> And if they happen to run it at the same time - there is going to be issues
> of some kind. Like - they may cross over and use eachother's datasources????
>   
Correct. Or overwrite one another.

> Because I set everything up in the app.cfm -
>
> <!--- Set Variables for ALL Web Pages--->
> <cfset datasource="ds">
> <cfset username="uid">
> <cfset password="pw">
> <cfset CompanyName="CoName">
> <cfset EncKey="EndKey">
> <cfapplication
>       name="BFD_CTMGR"
>       sessionmanagement="yes"
>       setclientcookies="yes"
>       sessiontimeout="#CreateTimeSpan(0, 0, 120, 0)#">
>
> If that's true - then a great example of a rookie mistake and quite eye
> opening.  It was my understanding that this was running at the "browser"
> level - and not at the server - but I am wrong, aren't I.
>   
All variables (apart from cookies) are actually created and stored on 
the server in some way shape or form.  Server, Application and Session 
scopes are what I know as shared-scope variables.   They are all stored 
on the server, so you need to be very careful about application names, 
protecting against race conditions and basically any situation where 
more than one browser could potentially be accessing a variable in those 
scopes.

An easy fix for your current problem is probably just to replace the 
dots in cgi.server_name with underscores and use that as part of your 
application name.

Regards

Stephen

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1584
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to