Show how many visitors are online!

Discussion in 'ASP .Net' started by Luis E Valencia, May 19, 2004.

  1. I want to show how many visitors do I have at my website, If the user is
    logged I must show it on the list. If there 5 users not logged I must show 5
    Guests.
     
    Luis E Valencia, May 19, 2004
    #1
    1. Advertisements

  2. Luis E Valencia

    Curt_C [MVP] Guest

    it will NEVER be fully accurate...
    just add (+1) to a counter in a field, file, etc with the session starts and
    remove it with the session on_end
     
    Curt_C [MVP], May 19, 2004
    #2
    1. Advertisements

  3. php nuke does it, there must be away to do it with asp.net
     
    Luis E Valencia, May 19, 2004
    #3
  4. Luis E Valencia

    Curt_C [MVP] Guest

    it does it but it's not accurate... it never will be.
    WWW isn't a statefull system. User connects, page renders, user disconnects,
    repeat as needed.
    fire up a php nuke site once, connect and make sure user goes +1, then hit
    the X in the browser.
    Reconnect, most likely it did not go (-1) yet, not until the session times
    out.



    --
    Curt Christianson
    Owner/Lead Developer, DF-Software
    Site: http://www.Darkfalz.com
    Blog: http://blog.Darkfalz.com
     
    Curt_C [MVP], May 19, 2004
    #4
  5. Anyway tell me how to do it in code please
     
    Luis E Valencia, May 20, 2004
    #5
  6. Luis E Valencia

    Curt_C [MVP] Guest

    Curt_C [MVP], May 20, 2004
    #6
  7. Luis E Valencia

    mhr.live Guest

    mhr.live, Sep 23, 2011
    #7
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.