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 : 895 | 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



Regards,
Raj.Trivedi

Regard's
Raj.Trivedi
"Sharing is Caring"
Please mark as answer if your Query is resolved



Responses

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

Up
0
Down
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.
http://www.dapfor.com/en/net-suite/net-grid/tutorial/headers-and-columns


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

Login to post response