John,

I've not had experience with this but it does sound like some type of 
threading may help and CF8's or BD's CFTHREAD tags may do the trick. I 
know that comet is used in JavaScript client-side implementations

I use jQuery for client-side work and the jQuery Ajax/JS library does 
have a plugin to work with Comet. You can find that here:

http://empireenterprises.com/_comet.html

This jQuery plugin also does server polling:

http://www.jasons-toolbox.com/JHeartbeat/

And here's an article explaining more about Comet:

http://ajaxian.com/archives/comet-a-new-approach-to-ajax-applications

HTH.

Rey..


John Robinson wrote:
> Hello!
> 
> I've been asked to develop a chat application using CF and Flash. I  
> recently finished a front-end to a project with a proprietary backend  
> that was similar but I don't have access to it, and don't know what  
> server tech. they were using. Basically, the chat client would send  
> an http request to the server and the server would hold onto that  
> request until new messages were available (or the request timed  
> out... about 60 seconds) before it responded. At that time, I'd  
> simply make a new request, where the process would repeat itself.  
> They told me this process is referred to as "long polling" or  
> "comet". I searched a bit yesterday but couldn't find anything  
> related to CF. Can anyone confirm that this is possible in CF, and  
> perhaps post a code example?
> 
> Thanks,
> 
> John Robinson - Flash/Flex Developer at large
> Blog: http://jrobinsonmedia.wordpress.com
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280386
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to