I am facing a serious issue while opening a PDF file in IE8 over SSL enabled web application with PDF-Xchange as default PDF viewer.
Environment
OS : Windows 7
Browser : IE8
Site Security : SSL
The issue occurs when I am setting some of the cache headers in response like the following.
Code: Select all
response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate, post-check=0, pre-check=0");
response.setHeader("Expires", "0");
response.setHeader( "Pragma", "no-cache" );My question is, do I need to take care of any other thing that I am missing while setting cache ? Because when I use Adobe PDF reader as a default PDF viewer in the browser, I am not facing this issue. Is it a IE8 specific bug ? (Other browsers like Firefox, I am not facing this issue)
Also, if the connection is over a HTTP (and NOT HTTPS), then this behaviour is not found.
Please assist me with the appropriate fix for this issue.
Thanks,
Manoj