Hi,
This Articale May be Help You ,
Take One Globle.asax page this having events Like This;
void Application_Start(object sender, EventArgs e)
{
Application["Toatal"] = 0;
Application["Online"] = 0;
Session.Timeout = 60;
}
void Application_End(object sender, EventArgs e)
{
}
void Application_Error(object sender, EventArgs e)
{
}
void Session_Start(object sender, EventArgs e)
{
Application["Toatal"] = Convert.ToInt32(Application["Toatal"]) + 1;
Application["Online"] = Convert.ToInt32(Application["Online"]) + 1;
}
void Session_End(object sender, EventArgs e)
{
Application["Online"] = Convert.ToInt32(Application["Online"]) - 1;
}
Take another Aspx page In that take two lables
and assign this two vales
Application["Toatal"] and
Application["Online"]
you can get total number of visiters and online visiters...