Steven,

What is it that is telling you that the thread is not running?  What is it 
supposed to do that it is not, manipulate the file system, execute a stored 
procedure?  Is it supposed to return a value that you are not seeing?  Remember 
that a function that initiates a thread will continue to run without waiting 
for the thread to finish unless a join action is performed.

Dave

-----Original Message-----
From: Bobby [mailto:bo...@acoderslife.com] 
Sent: Thursday, March 12, 2015 10:49 AM
To: cf-talk
Subject: Re: Can you use a CFTHREAD inside an Ajax routine?


When you say it doesn¹t generate any errors, do you mean that you¹ve looked 
through the exception logs? Unless you are trapping it with try/catch or a 
custom error handler, that¹s the only place you would discover that an error 
happened in a cfthread that you are spawning and forgetting.

On 3/5/15, 3:47 PM, "John Pullam" <jpul...@mcleansystems.com> wrote:

>
>It seems to me that the CFTHREAD I attempt to start from inside an Ajax 
>routine (triggered by a CFWINDOW) never runs and doesn't generate any 
>error message. Can anyone advise if this is a legitimate thing to do?
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360256
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to