Extend HttpApplication with session counts and uptime
- đź“…
- đź“ť 325 words
- đź•™ 2 minutes
- 📦 .NET
- 🏷️ ASP.NET, webdev, C#
- đź’¬ 4 responses
It’s sometimes useful to know or display how many people are currently using your web application and how long it’s been up for.
As web applications normally inherit from System.Web.HttpApplication
System.Web.HttpApplication we can extend this class with a common re-usable class to add the required functionality.