(On the basis of comparing the principles of AJAX and Comet technology, the strategy of realizing HTTP long connection with Comet technology is given. Through a prototype WebIM system, it is verified that Comet technology can effectively manage many AJAX cycle requests when used in WebIM system)