On 4/17/07, Douglas Knudsen <[EMAIL PROTECTED]> wrote: > There is a disconnect() method on RemoteObject that sounds like it might do > the trick. If not, could set a boolean flag that the onResult handler > checks, if its true, don't do anything with the result.
Well, I tried disconnect, which seemed to have no affect. I also changed the concurrency value of the remoteobject to "last", created a "phantom" method in the CFC called "cancelRequest" and called that, which should cancel all other requests but that didn't work either. I didn't like your boolean idea at first because I didn't want multiple result sets coming back should I "restart" the search with new criteria. However, I thought about it a little more and used concurrency="last" in combination with it, so that when I start my runQuery() request again, the old one is wiped out... So that's the solution! Thanks for pointing me in the right direction. Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3886 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
