note 35072 added to function.ob-implicit-flush

From: Date: Mon, 18 Aug 2003 19:41:21 +0000
Subject: note 35072 added to function.ob-implicit-flush
Groups: php.notes 
Request: Send a blank email to php-notes+get-54610@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.ob-implicit-flush.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35072 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35072&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35072&report=yes

« previous php.notes (#54610) next »