IE and downloads

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

IE and downloads

Post by shiznatix »

So hello kids! I am trying to force a download, not force as in sneaky but have the thing pop up and say 'save, cancel, open' or whatever. It all works fine in FF but IE does this thing where it says 'we stopped them from downloading files to your computer'. well thats fine and all but I am controlling the downloads by using sessions and after that page is opened once it deletes their session then when they try to open it either by clicking the message or clicking my link that says 'if your download did not begin properly, click this link' the session was deleted and my script blocks that from happening.

How can I stop this or fix this situation in some way.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Don't delete the session immediately?
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

sounds like you're redirecting to the download. force the user to click for the download, IE likes that ok.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

Burrito wrote:sounds like you're redirecting to the download. force the user to click for the download, IE likes that ok.
Im going with that. thanks
Post Reply