What is the best way to implement storage for a hit counter in ASP.NET?
<p>I am creating a hit counter which serves to keep track of how many people accessed a particular page. The table which holds this information contains the page_id, ip_address, and timestamp (when the IP address accessed the page).</p>

<p>The "issue" I'm having is which is the best way to save this information. If I store it every time a user accesses the page it affects the website performance as well as problems may rise in the saving process. I was hoping of maybe using the <code>Application_End</code> in the <code>Global.asax</code> file to add the records in the counter table. But how can I save such records? Do I make use of an <code>Application</code> variable? If yes, how?</p>
