I wonder how the technique with live update could be implemented? What is it’s concept? Keep on access db? Will this consume resources? Correct me if I am wrong.
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.
An easy to implement method is to use Ajax polling. Here is a untested example of a concept of it with JQuery.
This will call the getUpdates() function every 5 seconds, and return whats output from the page into the data variable.