i want maintain hits on my webpage.
when user visit on that page than count the page visit and show in label
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Aman GuptaPosted Oct 13, 2014, 4:02 AM
i want to maintain the previous value also.
Abhishek KumarPosted Oct 6, 2014, 12:50 PM
Please follow a nice article on hit counter.
http://www.aspnettutorials.com/tutorials/database/hit-cntr-asp4-cs/
Let me know if you want more information on this.
Abhishek
Manpreet SinghPosted Oct 6, 2014, 11:55 AM
You can store the value as 0 and on page load add the value +1, so everytime the page loads it will add up the hits on your page.
Thanks,
Manpreet