Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. display number of online visitors

display number of online visitors

Scheduled Pinned Locked Moved ASP.NET
help
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pratheepa
    wrote on last edited by
    #1

    Is there a way to display the total number of visitors being online in my webiste. plz help me by providing the code

    A C 2 Replies Last reply
    0
    • P Pratheepa

      Is there a way to display the total number of visitors being online in my webiste. plz help me by providing the code

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Pratheepa wrote:

      Is there a way to display the total number of visitors being online in my webiste.

      Use database. Store login use in database. Display the information as Online information list. When any user logs off, update the database entry.

      cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article

      1 Reply Last reply
      0
      • P Pratheepa

        Is there a way to display the total number of visitors being online in my webiste. plz help me by providing the code

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        You need to think about this stuff, instead of asking us to do your work for you. There's no real way to know for sure how many people are online, you need to apply some sort of timeout to the last activity you got from a user, as you have no idea when they 'leave'.

        Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups