php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17070 MSIE does not display pdfs together with "cookie sessions" (including patch)
Submitted: 2002-05-07 06:37 UTC Modified: 2002-09-25 06:24 UTC
Votes:7
Avg. Score:4.6 ± 0.5
Reproduced:6 of 6 (100.0%)
Same Version:0 (0.0%)
Same OS:4 (66.7%)
From: chregu@php.net Assigned:
Status: Closed Package: Session related
PHP Version: 4.0CVS-2002-05-07 OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: chregu@php.net
New email:
PHP Version: OS:

 

 [2002-05-07 06:37 UTC] chregu@php.net
Hi

I reported this problem a few weeks ago (see http://marc.theaimsgroup.com/?l=php-dev&m=101664289707152&w=2) and i still here other people complaining about this. Therefore i think, the patch would be a relief for a lot of people :)

the patch (which is certainly not perfect) adds a new ini-directive (
ini_set('session.send_cache_headers', 0);), which prevents PHP from sending some "Pragma" and "Cache" headers. Without these headers, MSIE displays dynamically generated PDFs just well.

The patch can be found at http://trash.chregu.tv/session.diff. It is against CVS-HEAD,  but works with php 4.2 as well

BTW, MS reports this as an MSIE problem under Q231296 in their support database.

chregu

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-25 06:24 UTC] sas@php.net
Thanks for your effort. You can reach the same goal by setting session.cache_limiter to the empty string "".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Aug 05 03:00:03 2025 UTC