• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • Last Modified:

User Online Pop Up


I'm looking for some direction/sample code on the below:
when a user comes online this users profile image appears as "online" on all other users pages without them having to refresh their page

we using .net versioin 4, and sql 2008
1 Solution
Miguel OzSoftware EngineerCommented:
You can use jquery to make a AJAX call to a web method in your website/page.

The web method will return the list of all active users  (JSON object)
then on JS you can compare your list with the current browser list and make the required update.
Only a little appointment at mas_oz2003 answer:

You'll also need to make your call to the server periodically to obtain the data. Otherwise an user could connect and the rest won't see him connected until your code executes again on their clients. So you'll need to use a Javascript TimeOut to repeat the call to server periodically. Keep an eye on performance when you stablish the period.
Roopesh ReddyCommented:

Yeah! SignalR will do the job!

Addition to the above user link,


Hope it helps u...

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now