-
FEATURED COMPONENTS
First time here? Check out the FAQ!
When I use Filedownload.save to stream a file to the browser, or even when using the ZK Demo application, IE blocks the download with the information bar. When the user clicks to download this file, internet explorer reloads the entire page. This is problematic because my entire application is on one page with a survey type system with a download at the end, after the user has entered all of the information. If the page is reloaded the user must retype all of the information they have previously typed. In effect, it restarts the application back at the very beginning.
Is there any workaround for this or any way to prevent Filedownload from triggering the information bar in IE that blocks the download?
Thanks for any help anyone can offer.
Greg
It is browser behavior.
No way can solve it.
Thanks for the response, Jumper. I ended up reworking the survey application so that it redirects (Executions.sendRedirect) right after the survey is done and the results are displayed. This way at least when IE refreshes the link it will refresh the link that displays the results instead of restarting the application completely over so the user does not have to retype all of the information. In between I stored an object to save the data in the HttpSession during the redirect.
Asked: 2009-12-03 13:29:31 +0800
Seen: 927 times
Last updated: Dec 07 '09