473,395 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

SSL,IISCache control headers and opening PDF files

Hi all,
When I try to open a .pdf file. browser throws a error that pdf file is nt
cached.

Site has no cache headers applied and SSL is enable.

I think this is the reason for that to happen.

http://support.microsoft.com/?id=316431
So work arounds I was thinkng of are …

1)Put the asp pages that are opening the pdf OR the PDF file in a different
site that does not have headers applied.

Down Side : PDF file will be cached .
2)Use code to stream the pdf files....Reponse.OutputStream ..etc...

It may allow me to not have PDF files not cached because we are streaming it
in server side code and asp page will not be cached.
I am not sure if Reponse.OutputStream wll try to access/save documents in
cache also then this won't work...It will give me the same error that I get
when access it using URL...Any Ideas on this?

Are there any other ways to handle this?
Thanks
Siddharth

Jun 7 '06 #1
0 994

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: PM | last post by:
Has anyone found a way to open a file exclusively where it will fail if the file is already open, i have tried the following _FileStream = new FileStream(@"C:\Data.txt", FileMode.Open,...
2
by: Bob Allen | last post by:
I am trying to open an image file or any file for that matter on a second server but i am getting security issues. I have usernames and passwords for this server and they are sitting side by side...
16
by: iwdu15 | last post by:
how can i open a file i saved and place the info into different text boxes?
0
by: siddharthkhare | last post by:
Hi all, When I try to open a .pdf file. browser throws a error that pdf file is nt cached. Site has no cache headers applied and SSL is enable. I think this is the reason for that to happen....
1
by: hugeballz | last post by:
Hey I'm trying to write a file that opens a text file of the user's choice and stores it (it is assumed to be a list of short strings, such as names) to a vector, each line being in its own index....
9
by: smugcool | last post by:
hi, I am having a problem while providing more control while opening word..Below is the code where i am able to open the file. in this code when somebody clicks on command2 button a input box opens...
0
by: Alexnb | last post by:
Okay, so what I want my program to do it open a file, a music file in specific, and for this we will say it is an .mp3. Well, I am using the system() command from the os class. The problem I am...
34
by: Alexnb | last post by:
Gerhard Häring wrote: No, it didn't work, but it gave me some interesting feedback when I ran it in the shell. Heres what it told me: Traceback (most recent call last): File...
4
by: yjulien | last post by:
Hello guys, I have not figure out how to properly use the read/write mode for opening files +>, +<, +>> I tried it but always got unpredicatable output. I usually do this for standard...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.