0

Filedownload.save triggers Internet Explorer information bar blocking download

asked 2009-12-03 13:29:31 +0800

gsharris gravatar image gsharris
6

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

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2009-12-04 04:57:18 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

It is browser behavior.
No way can solve it.

link publish delete flag offensive edit

answered 2009-12-07 17:08:52 +0800

gsharris gravatar image gsharris
6

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.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-12-03 13:29:31 +0800

Seen: 927 times

Last updated: Dec 07 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More