posted 19 years ago
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.