Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

asp.net application end page view count data in not updating

$
0
0

I have asp.net application. I am forcibly end this application and on the time of that i want to update my view page count value in database. If anyone known plz help me. I also written code in global.asax file

void Application_End(object sender, EventArgs e)
{
   // Code that runs on application shut`enter code here`down
}

but this is not working when i forcibly end application. i want to update data in both cases either application end forcibly or gracefully.


Viewing all articles
Browse latest Browse all 9386

Trending Articles