Hmmm...sounds like a perfect use of the new CFTHREAD tag in BD 7.0:

http://blog.newatlanta.com/index.cfm?mode=entry&entry=152A1ECC-B7C2-5C0D-4269B203A722C055

Vince Bonfanti
New Atlanta Communications, LLC

> I am aware (somewhat!) of the asynchronous Web services capability 
> with CFCs in ColdFusion. What would listers recommend if I simply want 
> to call a ColdFusion action page asynchronously. The asychronous call 
> is a one-way trip and does not require data back to the caller.
> 
> Here's the scenario briefly: I have a sign-up form that calls an 
> action page, but the action page does a lot of heavy lifting with 
> numerous queries and loops. The page takes about 15 seconds to run, 
> the result of which is an autogenerated e-mail link with an autologin 
> to an application environment.
> 
> I echo back an acknowledgement page immediately while processing 
> continues on the action page. What I have will work since the thread 
> will continue to run even if the user click away from the page, but I 
> would prefer that the thread would run asychronously and not appear to 
> be tying up the page.
> 
> I would prefer to not go the CFC route, but I am open to persuasion.
> 
> Thanks.
> 
> Paul Fraser
Minneapolis

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246823
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to