OK... try adding javascript to the onClick event of the button that initiates the download.
Something like:
onclick="setTimeout('document.location.href=document.location.href',1000)"
that should give it one second... which is hopefully enough time to initiate the download and increment the database, then it refreshes the page.


