note 35073 added to function.passthru
| From: | mhumphrey at _nospami_designvision dot com | Date: | Mon, 18 Aug 2003 19:43:15 +0000 |
| Subject: | note 35073 added to function.passthru | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-54611@lists.php.net to get a copy of this message | ||
From experimenting, it looks like using sessions with session.use_trans_sid=1 will force your output
to be buffered regardless of this setting.
My guess is that this is so PHP can hunt for URLs in your output to automatically add the Session ID
to them. It must wait until script output is complete before it starts that replacement, rather
than doing it "on the fly".
When i comment out my session_start() line, i get continuous output to the browser. Put it back in,
and i only see the page when it's completely loaded. Change session.use_trans_sid = 0 and i
get continuous output again.
----
Manual Page -- http://www.php.net/manual/en/function.passthru.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35073
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35073&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35073&report=yes