AJAX:how to receive data from CGI successively
Hi, as the statement, I am trying to do a ping testing page by using AJAX. my intention is the xmlHttp could receive each printf("...") from CGI individually and successively, and then update the content of the testing page. Unfortunately, it only receives all data after the CGI program is terminated.
The web-server is BOA. I just started to learn AJAX,therefore don't fully understand the procedures.
Please let me know how you guys achieve the similar objectives or any special requirements for web-server to support?
Thanks in advance.
|