论文部分内容阅读
在很多Web应用系统中,都需要将服务器端的最新数据实时地发送到客户端,而不需要客户端不停刷新、发送请求。传统Web模式和Ajax模式虽然都解决了一部分问题,然而也都存在着一定的缺陷,Comet技术则较好地解决了传统Web模式和Ajax技术中存在的不足。介绍了Comet技术的相关原理及实现,并运用该技术对一个简单无刷新聊天室进行了实现。
In many web applications, you need to send the latest server-side data to the client in real time without the need for the client to refresh and send the request. Although the traditional Web mode and Ajax mode solve some problems, they all have some defects. Comet technology solves the problems of traditional Web mode and Ajax technology. Introduced the related principle and realization of Comet technology, and implemented a simple non-refreshing chat room by using this technology.