I have a results service page which needs to check back to the server once every minute or so to see if a number has changed. This will go on for a number of hours. In the past I just did a straight html refresh using meta tags which resulted in millions of hits as people were just looking at pages.
This time I am also putting out rss feeds to try and reduce the traffic.
Is there a way of getting Ajax to check a number on the server, and then somehow provoking the browser to refresh the whole page? One idea I had was somehow resetting a JS refresh timer?
I mean I don't think its possible, and I dont particularly want to go Kromeys route of having x amount of ajax requests ... but if you dont ask ...
Well - you _have_ to send requests to the server in order to get the current number, there's no way around.
But with AJAX (better: JS) you can reduce the traffic to a minimum.
Bookmarks