Welcome Guest, Not a member yet? Register   Sign In
Loading long page live
#1

[eluser]chillbill7[/eluser]
My application needs to synchronize data between eBay and my own DB, which is a long chore (usually takes some minutes). What I would like is that, when the process starts, a view is loaded with something like "Synchronizing elements..." and then have my program add a line to that view each time an item is synchronized indicating it ("Item number 5345434 has been synchronized").
I can't seem to get it to do this. My browser just waits until the process is complete and then prints the entire page (a list of synchronized items). It would be much better if the user had a constant real-time status update.
Any ideas on how I could do this?
Thanks!
#2

[eluser]pistolPete[/eluser]
Have a look at these threads:
Generating HTML gradually
Long running script needs love




Theme © iAndrew 2016 - Forum software by © MyBB