Ajax long polling

I am confuse with ajax polling and ajax long polling,

can some one give me an example that use ajax Long - Polling, “its when the browser sends a request and the server only responds when having new data available.”…How to do that?,that the server will send data to the browser if there is newly data inserted to the table ?.

Thank you in advance.

Here’s a tutorial on long polling that shows how to implement it with a server running PHP. If you read through it, I think it’ll answer all of your questions.

@fretburner,

Thank you.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.