I have a data table page that have to be update right after the database is updated.
I am not allowed to use any loop checking method including AJAX.
I have a data table page that have to be update right after the
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.
Supposing you’re able to detect the insertion in database serverside, the usual solution is to use, like StackOverflow does, websockets.
They allow you to push data from the server to the browser with very little overhead, without useless pulling requests and without client-side loops.