Do what every other site on the internet does in this situation; simply render the page with the desired information, and add a redirect/refresh (either in the HTML or as an HTTP header) that redirects the user after x number of seconds to your script which opens the download dialog.