If you wanna know ho wmany times your application page hit you could use appllication start event of Global.aspx
Global.aspx file
Application["AppHitCount"] = 0;
lblConfCode.Text = Session["confCode"].ToString();
Application["AppHitCount"] = int.Parse(Application["AppHitCount"].ToString()) + 1;
lblAppHitCounter.Text = Application["AppHitCount"].ToString();
//lable to display the hits
No comments:
Post a Comment