Ajax long polling | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Ajax long polling

Hwo can tell me about long polling ajax+php. And if you can give example.

10th Feb 2017, 9:54 PM
Жадный Кот
Жадный Кот - avatar
1 Answer
+ 2
Web apps were created for clients making request to a server. Then, a server can't push data into the clients. Long polling was the first atempt to simulate such behavior. The client makes a request to the server, and this keep the request pendient until an update is ready
25th Apr 2017, 1:32 AM
⏩▶Clau◀⏪ - avatar