Solved

Internet Explorer blocking second download request

Posted on 2006-06-24
2
254 Views
Last Modified: 2009-07-29
I've got a flash swf file that pings a PHP script to request a file download.

The first time that the request is made to the PHP script, IE will display the "save as" dialog and save the file without a hitch.

However, the second time the request is made, IE blocks the download and displays the Information bar: "To help protect your security, Internet Explorer blocked the site from downloading the file to your computer."

I tried accessing the PHP script directly through the IE address bar, and the first, scond and third requests did not cause the Info bar to issue a warning. The info bar only pops out when the request is made through the SWF file, on the SECOND (or third) attempt -- even if the subsequent attempts use a unique URL.

It's odd because when the ping to the PHP page is made the first time, IE responds correctly, however, on subsequent attempts to download either the same file or a new file using the link in the SWF file, IE issues a warning.

One would think that IE would issue the warning on the first ping, not subsequent pings.

All the PHP header stuff is set up correctly, so it's not a PHP issue.

It's not a firewall issue (that was triple checked).

My gut tells me that IE is checking the actual URL to the PHP script - (sans query string)...

Example:
http://www/path/to/download.php?theFileID=123

... and parsing just:
http://www/path/to/download.php

... and thinking to it's self, "this file [download.php] was already requested through Flash, I'm not going to let this file be requested through Flash again."

What could IE be doing to allow the first request, but block the second (and third) request either to the same file ID or a new file ID?

It doesn't make sense for a completely unique URL to somehow get interpretted or cached.

Help.
0
Comment
Question by:gieson
2 Comments
 

Author Comment

by:gieson
ID: 16974639
I've discovered the problem.

The issue is due to the Flash plugin settings.

- Right-click into the Flash object displayed in IE
- Click on "Settings" from the menu
- Click the llittle folder icon
- Set to "Unlimited" ("How much information can [domain] store on your computer.")
0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 17118825
gieson,
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

EE_AutoDeleter
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
countX 22 84
listing all functions in JavaScript 19 179
Scripting vs. Programming languages 25 151
How to obtain Administrator permission when you are the Administrator 6 66
RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now