I made a chess game using Ajax. It updates the table every 5 seconds.
The problem is that the HTML code for the table is huge and causes a
lot of bandwidth. Now I am thinking of a new method: polling server
for new moves in the game and update only if a move was done. But I
can't imagine any easy way for doing this.
What I want to do is: poll the server every 5 seconds and update
contents of a div tag only if any move has been done. Any help will be
appreciated.
Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to