Quantcast
Channel: newschuyl - BlazeDS
Viewing all articles
Browse latest Browse all 4

ColdFusion 9: onCFCRequest and Flash Remoting

$
0
0
ColdFusion 9 introduced the new onCFCRequestmethod. Unfortunately, this new method breaks Flash Remoting requests. To get around this issue you can resort to a modified version of the old onRequest hack. If you have an Application.cfc that covers remote components that will be used for Flash Remoting, you can add the following to your onRequestStart method:
This will remove the onCFCRequest method for the current request and allow your Flash Remoting call to work. (Note: you may need to search for different paths depending on your BlazeDS endpoint configurations. If you don't know what I'm talking about here you will most likely be fine with the default "/flex2gateway".)

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images