Search code examples
coldfusioncoldfusion-8

What method is best for coldfusion 8 trigger background page?


I need to trigger a page to start acting, without interfering with client's processes.

I am doing a huge csv file upload, and after upload, redirect to an ajax status page....

But how do i trigger a page to be executed without showing that page to the end user...which i don't want to have them see...

Can i use cfschedule to schedule an task to happen immediately, without affecting performance of the client/end user?

Thank You.


Solution

  • I did find a way to do this....cfthread, was reading many of ben nadel's articles on cfthread, did it like this...

    cfthread action="run" name="moving_#unique_session_value#" cfhttp url="some_url"/cfhttp /cfthread

    this is so sweet, allowed me to save performance of the client/end user...

    Btw thank you all...