I have a "document.html" file on the server that I would like to download.
On a webpage, the user click on a button to download this file.
On the button click event, I set the response header to return the file as an attachment.
The user gets a download dialog which he can select "Open", "Browse" or "Cancel".
When he clicks on "Open", the file open on the same browser.
Is it possible to force the file to open on a new browser?
* hyperlink to the html file is not an option because the file is auto-generated
...
Go to the complete details ...