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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to count online user ?

How to count online user ?

Scheduled Pinned Locked Moved ASP.NET
csharpcomtutorialquestion
8 Posts 4 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.
  • J Offline
    J Offline
    JC KaNNaN
    wrote on last edited by
    #1

    Hi firends, i am new prog in .net. How to count online user in asp 2.0... plz give me solution.... Thanks in advance.

    Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph" Mail To : foreverkans@gmail.com

    A N 2 Replies Last reply
    0
    • J JC KaNNaN

      Hi firends, i am new prog in .net. How to count online user in asp 2.0... plz give me solution.... Thanks in advance.

      Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph" Mail To : foreverkans@gmail.com

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      Increment the Global Static variable / database field during Session Start and Decrement during Session End. Or you may use Login / Logout as well(but there is no surety of logout). ;)

      Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


      My Latest Articles-->** Simplify Code Using NDepend
      Basics of Bing Search API using .NET
      Microsoft Bing MAP using Javascript

      J 1 Reply Last reply
      0
      • J JC KaNNaN

        Hi firends, i am new prog in .net. How to count online user in asp 2.0... plz give me solution.... Thanks in advance.

        Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph" Mail To : foreverkans@gmail.com

        N Offline
        N Offline
        Nilesh Kuvar
        wrote on last edited by
        #3

        Hi chekcout following given link, http://www.aspdotnetfaq.com/Faq/How-to-show-number-of-online-users-visitors-for-ASP-NET-website.aspx[^] might be helpful:thumbsup:

        P 1 Reply Last reply
        0
        • A Abhishek Sur

          Increment the Global Static variable / database field during Session Start and Decrement during Session End. Or you may use Login / Logout as well(but there is no surety of logout). ;)

          Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


          My Latest Articles-->** Simplify Code Using NDepend
          Basics of Bing Search API using .NET
          Microsoft Bing MAP using Javascript

          J Offline
          J Offline
          JC KaNNaN
          wrote on last edited by
          #4

          ya i am increment global value. but its showing some error..

          Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph" Mail To : foreverkans@gmail.com

          A 1 Reply Last reply
          0
          • J JC KaNNaN

            ya i am increment global value. but its showing some error..

            Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph" Mail To : foreverkans@gmail.com

            A Offline
            A Offline
            Abhishek Sur
            wrote on last edited by
            #5

            Yaa... Application could be used as Global variable. ;)

            Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


            My Latest Articles-->** Simplify Code Using NDepend
            Basics of Bing Search API using .NET
            Microsoft Bing MAP using Javascript

            J 1 Reply Last reply
            0
            • A Abhishek Sur

              Yaa... Application could be used as Global variable. ;)

              Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


              My Latest Articles-->** Simplify Code Using NDepend
              Basics of Bing Search API using .NET
              Microsoft Bing MAP using Javascript

              J Offline
              J Offline
              JC KaNNaN
              wrote on last edited by
              #6

              ya.. i got it... but how we can set session time???

              Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph" Mail To : foreverkans@gmail.com

              A 1 Reply Last reply
              0
              • J JC KaNNaN

                ya.. i got it... but how we can set session time???

                Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph" Mail To : foreverkans@gmail.com

                A Offline
                A Offline
                Abhishek Sur
                wrote on last edited by
                #7

                Yes.. You can go for Session_start in global.asax to evaluate the session start time. but Rather than this, It is more logical to log the session start when actual login process occurs. ;)

                Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


                My Latest Articles-->** Simplify Code Using NDepend
                Basics of Bing Search API using .NET
                Microsoft Bing MAP using Javascript

                1 Reply Last reply
                0
                • N Nilesh Kuvar

                  Hi chekcout following given link, http://www.aspdotnetfaq.com/Faq/How-to-show-number-of-online-users-visitors-for-ASP-NET-website.aspx[^] might be helpful:thumbsup:

                  P Offline
                  P Offline
                  Paul Conrad
                  wrote on last edited by
                  #8

                  Very nice link, Nilesh. Thanks for sharing :D

                  "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                  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