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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 23:01:29 2024 UTC