Flash Remoting Trip Up

I was helping a customer with a Flash Remoting problem where they were using the gateway provided by our ColdFusion server. What was happening is this customer was using NetServices.setDefaultGatewayUrl("http://www.customerdomain.com/flashservices/gateway"); as his gateway. He had noted that the remoting was working on 80% of people’s computers, well I could never get it working. That was until I threw the www. onto the URL of the site.
It turns out that the Flash gateway things of www and non-www as two separate domains, so if you’re using one or the other for a gateway make sure you have some way of forcing your users to the proper domain. Either with a redirect, or by hard coding a link in your site.

Leave a Reply

Your email address will not be published. Required fields are marked *