void Application_Start(object sender, EventArgs e) { // Code that runs on application startup MySession.ReleaseAllSession(); GlobalVar.ResetAllSession(); }
void Application_End(object sender, EventArgs e) { // Code that runs on application shutdown MySession.ReleaseAllSession(); GlobalVar.ResetAllSession(); }