473,324 Members | 2,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

How to get current online users list

Hi,


I need to know to get current online user list. How can I achieve. I am using membership concepts that is asp login control.
Jun 22 '10 #1
1 4976
Frinavale
9,735 Expert Mod 8TB
You can accomplish this by using the Membership.GetAllUsers Method to retrieve all of the users in your system (be cautious of this because if your system is large this might cause performance issues).

Once you've retrieved all of the users in your system you can loop through them and use the Membership.GetUser Method to retrieve an instance of the MembershipUser (the user). From there you can check the MembershipUser.IsOnline Property to see if the member/user is online.

-Frinny
Jun 22 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Venkat | last post by:
Can any one tell me the way to check whether a given user name is a member of domain users or not. I do not know the domain name as well. I should retrieve from the logged in user, in which user...
6
by: Esref DURNA | last post by:
how I could count the number of online users with asp .net? which complement should i use?
0
by: pw | last post by:
Hello, I have a query of pg_database to find the owners of each available database. How can I query to get the users that have permissions on any particular database? pg_user always contains...
7
by: roopeman | last post by:
i can search objects in AD,someone can tell me how to get the online Computers in AD ?
1
by: tranky | last post by:
hi, only one information,please... how to count number of anonymous online users? I use ASP.NET 2.0 thank u tranky
1
by: Jeff | last post by:
Hey asp.net 2.0 I want to populate a GridView with a list of the online users, but I'm not sure how to get the collection of online users: I tryed using this code: MembershipUserCollection...
5
Carrugar
by: Carrugar | last post by:
We recently upgraded a Web App to IIS6.0 from IIS4.0. When monitoring the performance, the counter which records Current Anonymous Users seems to increase without coming down again....eventually...
3
by: altergothen | last post by:
Hi Guys I am trying to maintain the users list box selection after posting. How can I get this script to work? Is there perhaps a better way of doing this? <?php $mySelectOption =...
4
by: fpjkaba | last post by:
How to count online users and guests for the last 30 minutes on my site? I'm using mysql, php and apache for windows. Thanks.
1
by: someoneelseisnew | last post by:
i am trying to put together the frame work for a social networking site. no small feat :) i've been reading up n database structure, but there's one thing i wasn't able to find. how do sites like...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.