PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Error HTTPS on MS Internet Explorer 7
   PostPosted: 06 May 2011, 13:19 
On MS Internet Explorer v7 fails to deliver PDF over HTTPS protocol. On FF and Chrome everything works fine.

Source configuration:

Code:
PD4ML html = new PD4ML();
html.useHttpRequest(request, response);

response.setContentType("application/pdf");
response.setHeader("Content-Disposition", "attachment;filename=\"" + params.getFileName() + ".pdf\"");


  Subject: Re: Error HTTPS on MS Internet Explorer 7
   PostPosted: 06 May 2011, 13:39 
Try to add the following code:

response.setHeader("Pragma", "cache");
response.setHeader("Expires", "0");
response.setHeader("Cache-control", "private");


Does it change anything?


  Subject: Re: Error HTTPS on MS Internet Explorer 7
   PostPosted: 06 May 2011, 14:12 
It works fine.

Thanks!



[Reply]     [ 3 posts ] 

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share