This topic is locked
[SOLVED]

 How to create Pages View Hit Counter for each page

9/16/2010 8:58:00 AM
PHPRunner General questions
S
siro author

I have litle projet where the users can post an article

But I want to Know How to create Pages View Hit Counter for each page
pls help me

Thanks

Sergey Kornilov admin 9/16/2010

My personal suggestion is to use a third party service like Google Analytics for this purpose.
If you want to implement your own hit counter - add a new table to the database store hit count and any other relevant info like URL, IP address etc. Then use AfterAppInitialized event to insert a new record in this table on every page load.