I want to increase number of views on my page. Each time the page is loaded, it is supposed to increase the view by 1.
I'm using VS 2015 and I searched online for help and came to know about the global asax class file but I can't find Global Application Class in VS 2015.
How can I do that ? Any ideas?
Rky MishraPosted Jan 26, 2017, 12:27 PM
MayankPosted Jan 20, 2017, 4:28 AM
You can add Global.asax file by steps given below:
Go to the solution explorer -> add new item -> Global application class.
You can refer below link to find no of hits:
http://www.aspdotnet-suresh.com/2013/11/asp-net-count-number-of-visitors-in-Website.html
if it resolve your issue please mark as answer.
Mangesh GPosted Jan 19, 2017, 12:39 PM