Hi all,
How to know how many users are online to a particular website?
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Zoran HorvatPosted Nov 23, 2010, 4:37 AM
So each particular user is considered online all until cookie times out (looked from the client perspective) or until session object is removed from collection of live sessions (looked from the server perspective). This, however doesn't mean that this user is really online. He might have shut down the computer as well, and be considered online for couple of minutes or couple of hours more, falsely.
To conclude, counting online users typically boils down to a tradeoff of counting active sessions, hoping that it will not be too far away from the truth.
If you have administrative access to Web server (IIS, Apache...), then there are means to dig data out of it. For example, ASP.NET maintains performance counters giving own state, among other - giving number of active sessions. PHP maintains sessions on disk and some counting can be done on appropriate location (I'm not too familiar with this). And so on, there are general ways of getting this information when you're administrator.
Satyapriya NayakPosted Nov 21, 2010, 11:29 PM
To any website it means,suppose in http://www.c-sharpcorner.com/ homepage it is seems to be Total Online Users:
thanks
Zoran HorvatPosted Nov 21, 2010, 2:59 PM