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. currenet viewrs count

currenet viewrs count

Scheduled Pinned Locked Moved ASP.NET
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.
  • R Offline
    R Offline
    ratnakar_ravi
    wrote on last edited by
    #1

    hi, i want to know viewsrs count at a particular time who r viewing my site thanks in adv

    A 1 Reply Last reply
    0
    • R ratnakar_ravi

      hi, i want to know viewsrs count at a particular time who r viewing my site thanks in adv

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

      Yes. You can. use Global.asax file, There is a function Session_Start() use some counter to count to number of variable, that is the number of user currently viewing your side. becuase, whenever a user hit the url, from Session_Start() a session will be created.

      cheers, Abhijit

      M 1 Reply Last reply
      0
      • A Abhijit Jana

        Yes. You can. use Global.asax file, There is a function Session_Start() use some counter to count to number of variable, that is the number of user currently viewing your side. becuase, whenever a user hit the url, from Session_Start() a session will be created.

        cheers, Abhijit

        M Offline
        M Offline
        mr_muskurahat
        wrote on last edited by
        #3

        you can use application variable for this purpose and increase in appliation variable on session_onstart() and decreament on session_onend() and your session mode in web.config file must be set to inproc otherwise session_onend() wont call...

        umerumerumer

        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