在PDF Viewer中是否不允许存储临时Cookie? [英] In PDF Viewer Can't allow to Store Temporary Cookies?.
本文介绍了在PDF Viewer中是否不允许存储临时Cookie?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在服务器端的PDF Viewer应用程序中,在浏览器中打开PDF Viewer,它将在客户端计算机中存储临时Cookie.我不想在客户端PC上的临时Cookie中存储.pdf.
Hi,
In PDF Viewer application in Server side, Open PDF Viewer in browser it''s storing Temporary Cookies in Client Machine. I don''t want to store .pdf on Temporary Cookies in Client PC''s.
推荐答案
您的浏览器无法显示PDF文件,除非将其下载到本地缓存.
Your browser cannot display the PDF file without downloading it to the local cache.
Context.Response.AppendHeader("Cache-Control","no-cache")
Context.Response.AppendHeader("Cache-Control","no-cache")
这篇关于在PDF Viewer中是否不允许存储临时Cookie?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文