473,569 Members | 2,402 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.ClearH eaders, but its still same...

regards
-ashish
Nov 19 '05 #1
3 1803
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.ClearH eaders, 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.ClearH eaders, 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.ClearH eaders, 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
5211
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 includes the following columns: DocID (INTEGER, PRIMARY KEY, CLUSTERED) IsRecord (INTEGER, NONCLUSTERED)
7
3286
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 access denied using resizeTo. I am having the same issue but the explanations in this article don't seem to apply here. I am not trying to resize a...
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 workstation it is normally run from has been upgraded to WinXP from WinNT 5.0. The issue is that the graphs will either display the data within the...
0
3537
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 host is on a Unix server. I'm using the FtpWebRequest and FtpWebResponse classes to do the file uploading. I have tested it without any errors at all...
2
2809
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 intermittantly get the following exception - EXCEPTION MESSAGE: The viewstate is invalid for this page and might be corrupted. STACK TRACE:
5
2507
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 applications. I am testing an upgrade of all of the sites and have converted the main root site...although not necessarily fixed any issues. I move on...
0
2215
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". There are no other statements to indicate what object cannot be created. Otherwise, everything on the test Windows Server 2003 works fine—all...
4
3211
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 the page can carry on rendering whilst the call is taking place and also returning the ASP.NET worker thread to service another page request (for...
13
3485
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 allowing the user to make a selection from the popup window. I have enabled AJAX extensions and have a working sample outside of a gridview. However,...
0
7618
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7983
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5514
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5223
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2117
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1228
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
946
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.