Dave i checked the documentation about cfapplication and i found that cookies set by CFMX are not domain specific.
Here's a snipped from cfapplication documentation: setDomainCookies Optional No Yes: Sets CFID and CFTOKEN cookies for a domain (not a host). Required, for applications running on clusters. No So , the setDomainCookies parameter in cfapplication is NO by default. I hardcoded the parameter in cfaaplication to test and i'm still loosing my client variables. The domain name i use for navigation is: http://animaisonline.cidadeinternet.com.br The login form is on this domain https://www.animaisonline.com When i set a link in the first domain to the second, client variables are gone =(. BP. >> 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? > >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 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

