Storing page views in database and show it on the page

Posted by Raj.Trivedi under ASP.NET on 10/5/2012 | Points: 10 | Views : 953 | Status : [Member] [MVP] | Replies : 1
Hello Team,

I would like to know how to store the page views and user actions on the page and store it in database so that admin comes to know what page was used @ what time and show the counter on the webapp so that we can come to know how many times the page has been browsed.

Thanks in advance


"Sharing is Caring"
Please mark as answer if your Query is resolved


Posted by: Andrewpattinson on: 10/6/2012 [Member] Starter | Points: 25

You probably want to have a table just for pages, and have the user views have a reference to that table. Another possible optimization would be to have the user IP stored in a different table, perhaps some session table information.

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

Login to post response