in

dashCommerce

An ASP.NET Open Source e-Commerce Application

WHO IS ONLINE

Last post 07-10-2008 9:42 AM by AbrarN. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 07-05-2008 2:54 AM

    WHO IS ONLINE

    I have downloaded and configure the dashCommerce 3.0.1 Release - WebReady here http://dc.w1.snaplive.com/
    I am new to dashcommerce and have to perform the following task on it.

    WHO IS ONLINE: Like to see how many users there (http://dc.w1.snaplive.com/) are online
        How to do this ? If any idea then please share it. 

  • 07-09-2008 12:21 PM In reply to

    Re: WHO IS ONLINE

    When a user is online, the feild "IsOnline" in the aspnet_User table is set to 1/true. By default, the only way you can get a list of online users is retrieving ALL the users and see if they are online. What you could do is build a custom stored procedure that returns all users with IsOnline set to 1/true. SubSonic can help you generate a wrapper for any sproc you create.

    Contact me for more info.

    aim : SN 0291FZ4Q v2

    yahoo: theonlylawislove

    msn: theonlylawislove@yahoo.com

    ~Paul
  • 07-10-2008 2:07 AM In reply to

    Re: WHO IS ONLINE

    aspnet_User table dont have any feild with name "IsOnline"

  • 07-10-2008 3:05 AM In reply to

    Re: WHO IS ONLINE

  • 07-10-2008 9:42 AM In reply to

    • AbrarN
    • Not Ranked
    • Joined on 07-10-2008
    • Posts 1

    Re: WHO IS ONLINE

    thanks for ur time I got the solution here http://msdn.microsoft.com/en-us/library/system.web.security.membership.getnumberofusersonline.aspx
Page 1 of 1 (5 items)