Dear Friends,

I'm developing a website that can show online users, When ever a user logged we can update the status to "Online" On our database. Now i'm using AJAX.

Is it possible to show the online users without refreshing a page ? That means timed interval for a ajax function.

Checking database for online users every secound using ajax or javascript ? like facebook and gmail. Please help me.

Thanks in advance.