From:             [EMAIL PROTECTED]
Operating system: all
PHP version:      4.0CVS-2002-05-07
PHP Bug Type:     Session related
Bug description:  MSIE does not display pdfs together with "cookie sessions" 
(including patch)

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

-- 
Edit bug report at http://bugs.php.net/?id=17070&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17070&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17070&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17070&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17070&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17070&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17070&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17070&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17070&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17070&r=globals

Reply via email to