ashx download doesn’t work on ios safari

I use ashx to download file in my web app. Here are the concrete implementation:

  1. I create a hidden iframe
  2. Replace the iframe url with the ashx url/address to send request
  3. Service gets the request, and returns back the file to client side.

It works on almost everywhere, just fails on iOS safari (iphone, ipad). But on Mac OS safari, it works fine too.

Do you have any idea about that?

Leave a Reply

Your email address will not be published.