Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

streaming PDF over HTTPS to IE  RSS feed

 
rakesh gaddam
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

We are having a problem streaming a PDF to Internet Explorer over HTTPS.We would like the application to be non-cacheable, but this doen't work with any of the HTTP headers.

Can anyone throw light to this topic and help me overcome this problem.

Thank you all.
Rakesh.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16006
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please explain in more detail what you have already done and how exactly it doesn't work like you expect.
 
rakesh gaddam
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jesper,

Actually I'm streaming a PDF file from the server to the client machine.I set a couple of headers as:

response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");

so that its not cached in the browser.But setting the HTTP headers doesn't work for PDF file streaming.

Is there a way where we can make the browser to be non-cacheable.

Thanks
Rakesh.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!