I have a download script I've written that allows a file to be downloaded a certain number of times before the link expires, the script also removes the download link from the users account when the file has been fully downloaded.
Now this all works fine, except IE's security settings are messing things up and I can't ask each user to start fiddling with these settings even though that fixes the problem.
In IE7+ 8 when the user clicks the download link IE pops up its info bar and the user has to select to download the file.
What's happening though is that somehow IE has managed to already download the file from the server without actually saving it anywhere accessible to the user, this prompts the PHP script to expire the link so when IE goes for it's supposed first attempt and error is thrown up because the link has expired.
Does anyone have any suggestions about what could be done here, I need to to preserve the functionality of the script and I will definitely not resort to instructing user to adjust their security settings.