Re: Redirect after a file download

2005-12-21 Thread Denis Avdic
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,

Re: Redirect after a file download

2005-12-21 Thread Frank W. Zammetti
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

Redirect after a file download

2005-12-21 Thread Denis Avdic
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