Just to add on specific point of clarification

ColdFusion bases it's decision about Application scopes entirely on the name
of the application.

So as long as in your Application.cfc this.name is the same no matter what
domain name you hit, then CF is referencing the same application variables.

ex. <cfset this.name = "mywebsite_Public_08242011_1311">

If you use part of the domain name to set your Application Name, then they
have different application scopes.

ex <cfset this.name = "#ListFirst(cgi.server_name,
'.')#_Public_08242011_1311">

But as Russ pointed out, you are setting domain specific session cookies, so
if you jump from domainA.com to domainB.com your browser won't know you are
on the same site and will not send your session cookies from A to B.

=]

-- 
Alan Rother
Manager, Phoenix Cold Fusion User Group, www.AZCFUG.org
Twitter: @AlanRother


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347703
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to