This is a scenario in witch WebSockets will be your friend. With WebSockets you
can easily setup point-to-point communicative between the client and server.
A basic explanation of point-to-point communication in CF10:
http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d318518767eb3aa135858633ee-7ff0.html
A longer tutorial on WebSockets in CF10:
http://www.adobe.com/devnet/coldfusion/articles/html5-websockets-coldfusion-pt1.html
I've done something similar to what you're looking for in one of my projects:
PDFProtector (https://github.com/lagaffe/pdfprotector). When protecting a PDF,
the server send back information on the process to the client and on client
side I use that information to control the progress bar. For this I use
point-to-point communication with WebSockets.
Guust Nieuwenhuis
On 08 Jul 2012, at 17:25, Tom Small wrote:
>
> Hi
>
> I have a Progressbar that is developed with Ext JS 4 and want to know how to
> write ColdFusion server code that can keep track of the progress and pass it
> back to the progress bar..
>
> Tom
>
>
>
~|
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:351858
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm