0

In orkut, as soon as one receives a new scrap, one gets an alert at side bottom even if page is not refreshed. I am sure that orkut doesn't check for scraps again and again by Ajax. Then how does orkut know that i have received a new scrap?? Similar thing is in shout boxes, whenever a new message is received they update automatically. Anyone know how it happens?

2
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by jomanlk
1

Orkut probably uses some server side push technology (maybe Comet). But shout boxes work by continually pinging the server for new posts. Normal AJAX. Well, most of them anyway.

0

Oh thank you jomanlk. The logic was simple enough and wasnt very tough to implement.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.