On 6/19/2015 12:41 AM, jfb wrote:
Thanks All for reply and help. I think this property will not work because client on their site have a rule to cut the calls after a minute. I need to create an asynchronous call and check for that every 10 seconds or so.
- implement flex messaging gateway on your cf box & in the flex app (its almost trivial). - add a cfthread to your CFC to handle the data conversion asynchronously (btw you do know cf has functionality to write to spreadsheets, right?). the CFC called from flex should fire off the cfthread bits & immediately return something to the flex app. - in that data conversion process code, have it send back a message via the messaging gateway telling the client processing is done & provide the file download location.
considering the length of time this takes, you might consider creating a proper queuing system & retain the converted files, etc. so other users w/similar requests don't have to re-run the whole mess again.
we have some nasty server side processes (modelling) that sometimes take 30-45 minutes to complete--using asynch cf processes & a queue handles that nicely.
