void Application_Start(object sender, EventArgs e) { Application["count"] = 0; } void Session_Start(object sender, EventArgs e) { Application["count"] = Convert.ToInt32(Application["count"]) + 1; } void Session_End(object sender, EventArgs e) { Application["count"] = Convert.ToInt32(Application["count"]) - 1; }
Lock
Unlock
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)