Comments/Troubleshooting
The Page Counter component uses an internal object called a Central Management object that is part of the IIS architecture. This object is what actually counts the number of times each page has been hit.
What if you want to create an application-wide counter, rather than just a page-level counter? Unfortunately, the Page Counter component cannot help you. You must use either the Counters component or an application-scoped variable that is saved on the system manually.
The other limitation of the Page Counter component is that there is no way to prevent the page count from being artificially incremented by the user's clicking the Refresh button or reloading the page repeatedly.
The Page Counter component is simple to use and works as documented.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access