attachments on secure connection & IE [message #16240] |
Wed, 21 January 2004 21:41 |
kwrona
Messages: 4 Registered: January 2004
Karma: 0
|
Junior Member |
|
|
Hi,
I have installed FUDforum on web server which uses secure connection (SSL). Most of the features works fine but I have a problem with downloading files (attachments) when I use IE.
(Mozilla & Netscape works fine)
I have traced the problem and this is due to a caching policy for IE (more info on http://support.microsoft.com/default.aspx?scid=kb;en-us;316431 ). The only solution would be to allow the browser cache the content of the web.
I even did a short test and commented the following lines in index.php
line 425:
/*
header("Expires: Mon, 21 Jan 1980 06:01:01 GMT");
header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0");
header("Pragma: no-cache");
*/
Then the problem disappears, but I think this may break some other parts of the system.
1) could the caching be enabled for attachment only?
2) are there any parts of code which strongly depend on no-chache header?
3) Is there any other way to overcome this problem?
Thanks in advance,
Krzysiek
|
|
|
|
Re: attachments on secure connection & IE [message #16276 is a reply to message #16243] |
Sun, 25 January 2004 16:10 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The no-cache header ensures that the browser/proxy won't cache the session data that passed along with the request. This can potentially cause problems with session authentications, which is why it cannot be commented out all together.
I've applied an IE specific fix that would prevent the sending of the no-cache headers when HTTPS is in use.
FUDforum Core Developer
|
|
|
|
|