> 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 Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

