Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 59493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:00:50+00:00 2026-05-10T18:00:50+00:00

I have a Flex application that calls a function which searches a large document

  • 0

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.

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T18:00:51+00:00Added an answer on May 10, 2026 at 6:00 pm

    To add onto Ben Doom’s answer, I’m including some example code of a way this can be accomplished. There are multiple approaches and ways of names, organizing and calling the code below, but hopefully it is helpful.

    At some point during request start, store information about the process in shared scope and return an ID to the client. Here are example functions that could be used on page or remote requests.

    <cffunction name='createProcess' output='false'>   <cfset var id = createUUID()>   <cfset application.processInfo[id] = {     progress = 0,     kill = false   }>   <cfreturn id /> </cffunction> 

    Client can then check progress by polling server, or submit request to kill process

    <cffunction name='getProcessProgress' output='false'>   <cfargument name='processID' required='true'>   <cfreturn application.processInfo[arguments.processID].progress /> </cffunction>  <cffunction name='killProcess' output='false'>   <cfargument name='processID' required='true'>   <cfset application.processInfo[arguments.processID].kill = true /> </cffunction> 

    The actual server-side process in question can then hit a function, for example during a loop, to check whether it should abort processing and cleanup any work as appropriate.

    <cffunction name='shouldKillProcess' output='false'>   <cfargument name='processID' required='true'>   <cfreturn application.processInfo[arguments.processID].kill /> </cffunction> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 73k
  • Answers 73k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Textbook: Database Management Systems by Ramakrishnan and Gehrke. Or: Architecture… May 11, 2026 at 2:04 pm
  • added an answer Sources should go in {project.build.directory}/generated-sources/[plugin-id]/ Most plugins take configuration passed… May 11, 2026 at 2:04 pm
  • added an answer I don't think there is a way to do what… May 11, 2026 at 2:04 pm

Related Questions

I have a flex application that needs the ability to generate and execute JavaScript.
I have a Flex application that seems larger than it should be. There is
I have a Canvas in a Flex application which has items inside it that
I have a Flex application where I'm using a Canvas to contain several other
It seems that it is impossible to capture the keyboard event normally used for
In my Flex application, I call several .NET WebServices that return XML. However, these
What would be a clever way to make a 'please wait' control for a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.