hit count in asp.net

Posted by Suneel161 under ASP.NET on 8/21/2010 | Points: 10 | Views : 1893 | Status : [Member] | Replies : 1
Hi in my page i will show the hit count only when refreshed the page.
i want the count for the click on the page


Posted by: Shankul2784 on: 8/21/2010 [Member] Bronze | Points: 25


Your questions is some what confusing.

If you want to show the page refresh count for a particular user then you can store it in the viewstate & then increment on the page_load event.

If you want to count click on the page then also you use viewstate. if you want to use across the application then use session. If you want for all users then use application.

I hope, this will help you.

Thanks & Regards,


Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response