Hi friends,

How to Find the no of simultaneous users logged in to a web site at a time?.

Any help with the C# code will b greatly appreciated.

Regards

Robins

Hi friends,

How to Find the no of simultaneous users logged in to a web site at a time?.

Any help with the C# code will b greatly appreciated.

Regards

Robins

Is this for a website of yours? Or just in general? If it is yours, then when you run the script for loggon (probably php) have the script update a file with an incremented number of users, and conversely decrement it when someone logs off. Then if you choose to use C#, have it open this file and read the number...

There's any number of ways you can do this-- if you're not actually keeping track of users logged into the site, you can really only track things through IIS, like page hits per hour, etc, with some type of analytics software.

How are you keeping track of when users log in?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.