note 21503 rejected from ref.session by torben
| From: | torben@php.net | Date: | Mon, 10 Jun 2002 07:15:46 +0000 |
| Subject: | note 21503 rejected from ref.session by torben | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-31654@lists.php.net to get a copy of this message | ||
As we now have to generate PDFs on the fly for some customers we get one problem more often: It
seems, that the php session is 'destroying' the header of a html page (or css, js, etc).
This problem is everywhere (not only application/pdf)
I.E. we got a file called index.html. Before starting a session it will get the Content-Type of
'HTML Document' (seen in properties of ie6 ). With the header() method I can change this,
also.
After starting a session and calling the page again the Content-Type, Content-Size, etc will turn to
'unknown'... for me this means that the session destroyes the document header in some way!
Someone got an idea to solve this problem? Not nice to have this problem, while generating PDFs on
the fly with PHP and started a session before. Session will destroy Header, and without header the
pdf will not be loaded. Btw... the pdf is the script...