On the backend you could add a timestamp for when items are added to
the database. Then your query would return anything with a timestamp
newer than the last time you asked for items.
in client js: last_request = time();
Then send the time along with your request to the server script.
on the ser
Hello
Lets say we have a database where things are going to be added at
random times, over the whole day. I want a AJAX script to load new
items every 5s (its a local database so no problem with spamming it)
and for each of these items I have to do a AJAX request to get some
more data...
>From th
2 matches
Mail list logo