Robert,
Thank you for your response and code examples. This is an interesting
approach. Was your decision about using cfthread instead of gateways caused
by any particular issues with the latter, or just out of curiosity about
cfthread?
I’ve read that long running threads are not recommended on busy
Web/application servers, although I think this particular post was about
PHP. We were using cfthread back in CF8 days, but it didn’t behave well so
we dropped the idea.
Could you share how does this long running process behave on your server?
How do you monitor/control it? Doesn’t it hang up/freeze/quit?