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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.