Re: session_start function breaks flush function in 4.2.1
| From: | Ivo | Date: | Mon, 23 Sep 2002 15:12:34 +0000 |
| Subject: | Re: session_start function breaks flush function in 4.2.1 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117277@lists.php.net to get a copy of this message | ||
Flush is not reliable to do what is supposed for different reasons explained
in http://www.php.net/manual/en/function.flush.php
If you want to omit session_start you could substitude it with
$_SESSION['whatever_name'] = 'myvqlue';
Note: Do not use global $_SESSION
regads
Ivo
"Chris Andrew" <candrew@oxspring.com> wrote in message
news:NEBBLPCHOJBHFGNFCLNNKEKBKIAA.candrew@oxspring.com...
> I use a script which initially sends a friendly message to a browser, and
> then goes about some lengthy processing. The browser is IE and I am aware
of
> the 256 byte issue.
>
> The script worked nicely in php.4.1.1 but since installing 4.2.1, the
flush
> function doesn't do its job. However, it works if I ommit session_start()
?
>
> Can anyone give me any pointers?
>
> Thanks - Chris
>
>
>