|
Posted by Michael Fesser on 08/23/07 21:19
..oO(sven.seuken@gmail.com)
>When the user clicks the "download button" on my page, a new webpage
>shall load (saying something like "thank you for the download...") and
>at the same time, a file download dialogue shall open.
Since you can't send two resources at the same time to the browser, this
is usually done with a "Thank you" page, which contains a meta-refresh
to the download file. The browser gets the page, and after some seconds
he follows the meta-refresh to get the actual file. Ugly, but common.
Personally I wouldn't do it. Why should I thank someone for downloading
anything from my site? Doesn't really make sense to me. YMMV, though.
Micha
[Back to original message]
|