Server Communication

Whenever you request a web page, you send a message to the server and the server responds. As far as I know, most of the interactions happen this way: the client says one thing on the server, and the server says one thing. The server cannot "speak until it is pronounced."

Are there technologies that allow the server to initiate a conversation? For example, if you have a page that you would like to constantly update, then, as I did now, periodically makes an AJAX request to get updated information from the server. However, it would be better if the server could simply inform the client at the moment when new information appeared. Is there anything that can do this?

+3
source share
2 answers

The concept you are looking for is push technology .

+2
source

All HTTP interactions are a client request, a server response. To get away from polling for updates, as you described, you will have to look outside of HTTP; To do this, you will need to use a plugin, Java applet, ActiveX control, etc. on the web page.

0
source

All Articles