How to make all connected browsers reload initiated by a server-side event

前端 未结 7 1409
忘掉有多难
忘掉有多难 2020-12-19 17:42

Suppose there is a webpage with dynamically generated content -- say a div containing the current number of connected browsers. When the count changes on the server I want a

7条回答
  •  盖世英雄少女心
    2020-12-19 18:23

    I think COMET might be what you're looking for. Web Sockets would be ideal but lack of browser adoption wouldn't make it practical right now.

提交回复
热议问题