Accurate way of finding out number of times a file has been download
<p>I have a download page with a <code>linkbutton</code> that users use to download files. The event handler of the <code>linkbutton</code> sets up the Response type for the user to see the download dialog and chose to save it. I need to find out accurately how many times the file has been downloaded. If I increment a counter in the link button's event handler, I'd assume it wouldn't be accurate as the user may chose to click on Cancel in the download dialog.</p>

<p>Where exactly do I need to hook this counter incrementing logic?</p>
