Something like that? I dont understant how can i have a condition cfapplication. I
understand your explanation about the problem but i didnt get the solution.
Could you please be so kind as to explain it again to me?
Thanks. BP.
<!--- this domain is used for navigation --->
<cfif CGI.SERVER_NAME EQ "mydomain.partner.com">
<cfapplication name="MySite" sessionmanagement="Yes"
sessiontimeout="#CreateTimeSpan(0, 0, 40, 0)#" clientmanagement="Yes">
<!--- this one is used for login (cos it has the ssl cert) --->
<!--- domain name is www.mydomain.com (https) --->
<cfelse>
<cfapplication name="MySite" sessionmanagement="Yes"
sessiontimeout="#CreateTimeSpan(0, 0, 40, 0)#" clientmanagement="Yes"
setdomaincookies="No">
</cfif>
>When you use Client variables, by default, CF creates CFID and CFTOKEN
>cookies. Cookies are domain-specific, so a browser will get two sets, one
>from each site. You'll have to edit your CFAPPLICATION tag so that you don't
>automatically set cookies in the second site, I think, and you'll need to
>send the CFID and CFTOKEN values from the first site to the second via URL
>or form submission.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444
>>> I need urgent help. I'm loosing my client variables when
>> going back and forth from 2 domains. Both domains points
>> to the same server.
>>
>> For instance, user is browsing the page
>> http://mywebsite.mypartner.com/index.cfm
>>
>> when he tries to login to the page
>> http://www.mywebsite.com/login.cfm
>>
>> Then client scope is gone. any client variables set in
>> mywebsite.mypartner.com is not available in www.mywebsite.com.
>>
>> both domains pings to the same server. I've tried to pass
>> CFID and CFTOKEN but i have no sucess. Is there any way to
>> do it?
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4