I am developing a videochat application using a PHP framework, Red5 server and now.js framework for node.js. Whenever two users enter private chat, one of them is paying and the other one is receiving that amount. Now, I need to make sure that database update of the cash balance is performed every minute - if I were to use javascript to do ajax posts, how can I make sure the payee didn't somehow prevent those posts? Or should I use different approach?
Thanks!
Use
setInterval()to call a function which uses ajax