note 51423 added to ref.pdf
| From: | beanjammin dot removethis at gmail dot com | Date: | Wed, 30 Mar 2005 18:32:57 +0000 |
| Subject: | note 51423 added to ref.pdf | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-87192@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/ref.pdf.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51423
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51423&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51423&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51423&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51423&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51423&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51423&report=yes
Search -- http://master.php.net/manage/user-notes.php