Monday, November 13th, 2006
There was an error opening this document. This file cannot be found.
This error sucks. Acrobat Reader 7 throws it when trying to read an inline PDF in IE.
Here's how you fix it (in java, though you could do this in another language, point is you have to set your headers like so).
response.setHeader("Pragma", "public");
response.setDateHeader("Expires", 0);
response.setHeader("Cache-Control","must-revalidate, post-check=0, pre-check=0");
response.setHeader("Cache-Control","public");
response.setHeader("Content-Description","File Transfer");
Bookmark to:






