On Wednesday 10 April 2002 08:54, Jim Koutoumis wrote: > Using this method,.. works OK if you choose to save the file, however if > you choose to open the file you get a weird behaviour where IE says it > can't find the file and a subsequent prompt to create a new one. Does > anyone know why it does this and how to overcome it ? > > At this stage I've resorted to using some simple javascript to prevent a > user clicking on a file and advising them to use right-click save-as until > I come up with a more reliable method.
Try removing the "Expires" & "Cache-Control" headers. I doubt you'll be able to find a reliable way that works under all flavours of IE. Some versions of IE tries to open file regardless of what you tell it to do. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* While most peoples' opinions change, the conviction of their correctness never does. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php