In simple terms, how is push achieved through ajax? Is this done through the same object used for conventional ajax requests?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The general idea is to always have a request to the server “hanging”, so the server can respond to it whenever it wants to “push” something to the client.
It can be, but you can emulate it with an
iframeas well. This field is in very active development currently, so maybe WebSockets and the EventSource should be mentioned here as well.