This hit counter is used to track/count the number of users visited a particular page in your website. The implementation in the below tutorial uses C# and asp.net Mvc sessions. Same logic can be applied to websites developed in java or any other languages with few changes.