Well here's what i did to pass client variables from 
"animaisonline.cidadeinternet.com.br" to "www.animaisonline.com". All my logins are 
URL based, so i did not do that for FORM.

1) Put this code in application.cfm, after cfapplication.
<cfif IsDefined("url.CFID")>
        <cfset client.CFID = url.CFID>
        <cfset session.CFID = url.CFID>
        <cfcookie name="CFID" value="#url.CFID#" expires="NEVER">
</cfif>
<cfif IsDefined("url.CFTOKEN")>
        <cfset client.CFTOKEN = url.CFTOKEN>
        <cfset session.CFTOKEN = url.CFTOKEN>
        <cfcookie name="CFTOKEN" value="#url.CFTOKEN#" expires="NEVER">
</cfif>

2) include the SESConverter (i'm using SES urls)  before the code above.

3) edit the custom tag returnfuseaction so it does not stripes out cfid and cftoken (i 
dont know why the code is there, but i strips out those variables)

4) make sure i pass cfid and cftoken whenever i need to switch between domains. 

Thank you Dave, Thomas, Mike and Gred, for the help =)

BP.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to