473,508 Members | 2,006 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cacheability issue with IE

hi All,
I have a web page which tries to send user a file attachment using
httpresponse, by setting the content-Disposition header..

the problem is that the page is hosted on a ssl site, and there is a
issue with IE that it wont download files where Cache-control header is
set to no-cache.

My problem is that even if i set page cacheability on the event handler
of the button, the response still contains 'Cache-Control: no-cache'
header..

for some other reasons in the application, the base class of the page
sets the cacheability to no cache,

can i not change the cacheability on the event handler, can it be set
only once ?

i tried using response.ClearHeaders, but its still same...

regards
-ashish
Nov 19 '05 #1
3 1800
Jed
Did you ever figure this out? I am having the same problem and I have tried
everything. The downloads work fine under HTTP but under HTTPS I get an
error on certain machines. On other machines including a Mac work fine.

"ashish" wrote:
hi All,
I have a web page which tries to send user a file attachment using
httpresponse, by setting the content-Disposition header..

the problem is that the page is hosted on a ssl site, and there is a
issue with IE that it wont download files where Cache-control header is
set to no-cache.

My problem is that even if i set page cacheability on the event handler
of the button, the response still contains 'Cache-Control: no-cache'
header..

for some other reasons in the application, the base class of the page
sets the cacheability to no cache,

can i not change the cacheability on the event handler, can it be set
only once ?

i tried using response.ClearHeaders, but its still same...

regards
-ashish

Nov 19 '05 #2
Jed
I think the following solved the issue for me.

One of the Advanced settings in the IE options is "Do not save encrypted
pages to disk" I had this option checked and I believe this is why neither
download (attachment) nor open (inline) worked under HTTPS / SSL for me.

http://support.microsoft.com/?kbid=812935

"ashish" wrote:
hi All,
I have a web page which tries to send user a file attachment using
httpresponse, by setting the content-Disposition header..

the problem is that the page is hosted on a ssl site, and there is a
issue with IE that it wont download files where Cache-control header is
set to no-cache.

My problem is that even if i set page cacheability on the event handler
of the button, the response still contains 'Cache-Control: no-cache'
header..

for some other reasons in the application, the base class of the page
sets the cacheability to no cache,

can i not change the cacheability on the event handler, can it be set
only once ?

i tried using response.ClearHeaders, but its still same...

regards
-ashish

Nov 19 '05 #3
What error message do you get?
Hello Jed,
Did you ever figure this out? I am having the same problem and I have
tried everything. The downloads work fine under HTTP but under HTTPS
I get an error on certain machines. On other machines including a Mac
work fine.

"ashish" wrote:
hi All,
I have a web page which tries to send user a file attachment using
httpresponse, by setting the content-Disposition header..
the problem is that the page is hosted on a ssl site, and there is a
issue with IE that it wont download files where Cache-control header
is set to no-cache.

My problem is that even if i set page cacheability on the event
handler of the button, the response still contains 'Cache-Control:
no-cache' header..

for some other reasons in the application, the base class of the page
sets the cacheability to no cache,

can i not change the cacheability on the event handler, can it be set
only once ?

i tried using response.ClearHeaders, but its still same...

regards
-ashish


Nov 19 '05 #4

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

Similar topics

3
5204
by: Paul Mateer | last post by:
Hi, I have been running some queries against a table in a my database and have noted an odd (at least it seems odd to me) performance issue. The table has approximately 5 million rows and...
7
3279
by: George Hester | last post by:
Please take a look at this google artcle: http://groups.google.com/groups?hl=en&lr=&frame=right&th=55d6f4b50f5f9382&seekm=411f370d%241%40olaf.komtel.net#link9 The op was having trouble with...
2
2454
by: Anthony Cuttitta Jr. | last post by:
We have an application that outputs several different graphs from data downloaded from our AS400. The application has worked without (this) issue for several months now, but just recently, the...
0
3534
by: Kevin Spencer | last post by:
Hi all, I am working on a service that uploads METAR weather information to the National Weather Service FTP site. The service I'm authoring is hosted on a Windows 200 server, and the NWS FTP...
2
2803
by: Ben Rush | last post by:
Hello World, Okay, I have spent the day browsing the newsgroups and reading up on article after article concerning ViewState corruption and so forth, and I have a couple questions. We...
5
2495
by: Robert | last post by:
I have a series of web applications (configured as separate applications) on a server. There is a main application at the root and then several virtual directories that are independant...
0
2204
by: Charles Leonard | last post by:
I am having yet another issue with Windows Server 2003. This time, the web service (a file import web service) appears to run except for one odd message: "ActiveX component can't create object". ...
4
3210
by: Paul | last post by:
Hi, I've been struggling with this today, I'm developing a DotNet2.0 website in C# that needs to call a long running data query. Obviously this is a good candidate for an Asynchronous call, so...
13
3476
by: SAL | last post by:
Hello, I'm trying to include a popup in the ItemTemplate of a gridview row. The ItemTemplate for the field contains a textbox and when the user clicks in the textbox I want a popup panel to show...
0
7125
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
7388
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
7499
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
5631
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,...
1
5055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4709
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3199
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3186
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
422
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.