[xdebug-general] Re: Setting the XDebug Session cookie within a browser.

From: Marcus Bointon <marcus[@]bointon.com>
Date: Tue, 23 Oct 2007 16:17:41 +0100

On 23 Oct 2007, at 13:48, Dave Kelsey wrote:

> Is it possible to get the cookie sent to the browser as soon as
> the script has started executing ? or does this already happen but
> IE doesn't store it until the request completes maybe ?

I think PHP is to blame here. It usually delays sending of headers
until a script has ended, at which point it sends everything in one
go. You can force it to flush output using flush(). You might also
look into
session_write_close(), and the various output buffering options in
php.ini. Further upstream, mod_deflate/mod_gzip can also delay output
until script completion.

Marcus

-- 
Marcus Bointon
marcus@bointon.com | http://marcus.bointon.com/
Received on Tue Oct 23 2007 - 17:24:30 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST