Thread: Polling
View Single Post
Old 07-24-2008, 07:18 AM   PM User | #1
spetsacdc
New Coder

 
Join Date: Mar 2008
Posts: 92
Thanks: 19
Thanked 0 Times in 0 Posts
spetsacdc is an unknown quantity at this point
Polling

Hi,

I need to use ajax polling to update a page as soon as a value in the mysql database is changed. The polling will only happen on one page of the website and only like 1-10 people have access to the page at a time. Ideally, the ajax would call the php function every second, but does that strain the server any? I could live with like 20-30 second intervals if needed. Also, I read an article on long polling (comet) vs. regular. Does my situation call for long or regular? Regular seems easy to set up with jQuery.

Thanks
spetsacdc is offline   Reply With Quote