<p>I have a Flex application that calls a function which searches a large document collection. Depending on the search term, the user may want to stop the request from flex. </p>

<p>I’d like to not only stop the flex application from expecting the request, but also stop the CFC request. Is this possible? What’s the best approach for doing this?</p>

You can programmatically end requests with either
```
<cfabort/>
```
or
```
<cfsetting requesttimeout="0"/>
```
- but that's on the CF server side of things, which I don't think is what you're asking?
Ending it remotely... well, if you have FusionReactor it
might
be possible to contact that using Flex and have it interrupt the request for you.
(You can certainly try to end requests within FusionReactor, but whether or not Flex can actually ask FR to stop it... you'd have to ask that on the FR mailing list if there's a way to do that.)
Possibly an alternative solution is to try and architect the search so that it works over multiple requests, but how feasible that is will depend on exactly what you're searching.