PHP long polling, without excessive database access

前端 未结 6 1324
無奈伤痛
無奈伤痛 2021-01-02 17:26

I\'ve always enjoyed the idea of long polling; on my development server I\'ve played with various notification / new post systems, each using javascript to hold a connection

6条回答
  •  萌比男神i
    2021-01-02 18:03

    Can look into having a flash movie in the background that maintains a continuous connection with the server using sockets. Java also supports sockets so can also be a java applet embedded in your page.

提交回复
热议问题