I was unclear I guess. No, the refresh happens after the action
STARTS sending the file, at the beginning of the download.
This solution works with a timeout on the second window.location.
I was hoping I could do something else, perhaps forking control or
something after the response has is sent,
Does the refresh *have* to happen only *after* the download is complete?
If so, I suspect your SOL.
However, what you can do if that isn't important is to start the download
via Javascript, and at the same time kick off the refresh. Do something
like this:
Download
function download() {
wind
Hello,
I have an application that enables a user to download a file and keeps
stats on total downloads as well as last time anyone downloaded a
file. My problem is that the client wants the download page refreshed
after a file has been sent.
Right now I have a forward that points back to the dow
3 matches
Mail list logo