Today, reported a user of our services that has a problem when downloading a Word file from our website. She uses the Internet Explorer (version and operating system unknown). The problem can be seen at "but MSIE 8.0.6001 on Windows XP.
limit 1: Problem with SSL With a newly created test file, the problem can also be verified, it is not so in the special file, which has used a major user. However, the problem occurs only if access to the site using SSL (HTTPS) is carried out. With an HTTP access, there is no problem. limit 2: Problem with certain formats
The problem occurs at least in Word (*. doc extension
is Here the downside) and PDF files (*. pdf extension
). For image files (extension *. jpeg ) it does not occur.
Internet sources
There is a page Microsoft, which is a similar (identical?) Takes care problem, but only up to IE 6 is sufficient.By the way: this page is an interesting example of the sometimes puzzling results of automatic translations. So one can of neologisms such as: brood 'Cache-Control no-store':)
. solution As in the downside of the
cited blog described the following lines inserted in the servlet:
response.setHeader ("Content-Disposition", "attachment; filename = \\" "+ filename + "\\" ");
response.setHeader (" Pragma "," public "); So then in IE 8 and continues in Firefox and Chrome.
0 comments:
Post a Comment