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 3 1803
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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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)
|
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...
|
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...
|
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...
|
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:
| |
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...
|
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...
|
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...
|
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,...
|
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...
|
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...
| |
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |