I am trying to stream a PDF to a new browser window. I can get this to work, but the strange thing that happens is that a new browser window gets opened, but instead of the PDF geting displayed inside the browser window, it is opened separately by Adobe Acrobat. So, the user is forced to close two windows, the Adobe Acrobat window and the blank Browser window. I have gone over my code but have never seen any behavior quite like this. Does anyone know what will cause a new browser window to open up, but still open Adobe Acrobat outside of the browser? Any thoughts on why this is happening?
This depends somewhat on what browser brand and version the user has. Originally, I believe there was an option you could set that indicated whether the PDF (or a Word document, etc.) would open in a browser window or open in a standalone app window. However Eolas won a $500 million lawsuit against Microsoft while required Microsoft to switch off some of that functionality in IE.
In short, I'm not sure it's possible for you to always get the document to come up in a browser window. It never was, but when the patent lawyers got involved that made the issue even murkier.
If my memory is accurate, the control of in-browser ("inline") versus independent window output is part of the output headers, but, as I said, the browser may not always honor it.
Update: I think that it's the Content-Disposition header that you want to look at, now that I think of it. [ August 03, 2007: Message edited by: Tim Holloway ]
Customer surveys are for companies who didn't pay proper attention to begin with.