note 51423 deleted from ref.pdf by didou
| From: | didou@php.net | Date: | Wed, 24 Jan 2007 07:48:29 +0000 |
| Subject: | note 51423 deleted from ref.pdf by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-122115@lists.php.net to get a copy of this message | ||
Note Submitter: beanjammin dot removethis at gmail dot com
----
This was originally posted by mat3582 at NOSPAM dot hotmail dot com on the Session Handling
Functions manual page, however as it is pdf specific I hope that moving it here will make it easier
for others to find.
I fought this for longer than I'd care to admit after a web server distros switch before
discovering my problem was session related and subsequently discovering Mat's post.
// Mats Note:
Outputting a pdf file to a MSIE browser didn't work (MSIE mistook the file for an Active-X
control,
then failed to download) untill I added
<?php
ini_set('session.cache_limiter',"0");
?>
to my script. I hope this will help someone else.
// End Mats Note
In addition to Mat's suggestion the php.ini file can also be edited to add/change the
session.cach_limiter setting to 0.