?
Solved

MembershipUser.IsOnline Property

Posted on 2007-03-19
2
Medium Priority
?
745 Views
Last Modified: 2012-08-13
How can MembershipUser.IsOnline Property be updated realtime? I tested it for displaying online users and keep seeing offline ones still listed. Please advise,
0
Comment
Question by:ksfok
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Accepted Solution

by:
DarkoLord earned 1000 total points
ID: 18750670
Can you show your code you use to get MembershipUser?
0
 

Author Comment

by:ksfok
ID: 18751070
   Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Label1.Text = "OnLine Count : " & Membership.GetNumberOfUsersOnline().ToString()
        Dim olUsers As New MembershipUserCollection
        Dim UserOLlist As MembershipUserCollection
        UserOLlist = Membership.GetAllUsers()
        For Each user As MembershipUser In UserOLlist
            If user.IsOnline Then
                olUsers.Add(user)
            End If
        Next
        GridView1.DataSource = olUsers
        GridView1.DataBind()

    End Sub
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question