|
Posted by Rik Wasmus on 01/09/08 09:30
On Wed, 09 Jan 2008 09:32:15 +0100, Willem Bogaerts
<w.bogaerts@kratz.maardanzonderditstuk.nl> wrote:
>> ... i added in some ssl last
>> night so that pages/scripts that set an $enableSecurity flag dynamically
>> change from http to https (avoids mixed security messages for things
>> like
>> resource links, etc.). now, everything continues to work fine with the
>> exception of the pdf reports. there are no errors reported but no report
>> data is displayed.
>
> Let me guess: you are using Internet Explorer. Internet Explorer has a
> serious bug that causes it not to store anything if a no-cache header is
> sent, not even if it calls another program to display the contents. So
> it calls acrobat with data that IE refuses to pass. So acrobat starts
> with data that is not there.
>
> Let me do another guess: you are sending "do-cache" headers because IE
> needs them to overcome the above problem, and you are using sessions.
>
> In this case, you need to know that a session_start() call also sends
> no-cache headers. This is poorly (if at all) documented and took me a
> few months to find out as well.
>
> So if you send headers like "Pragma-cache", send them *after* you use
> the session_start() function.
Ah, possibly valuable information for the future. Duly noted & stored.
--
Rik Wasmus
[Back to original message]
|