Re: Transparent session handling
| From: | Peter Kovacs | Date: | Thu, 08 Jun 2000 23:57:53 +0000 |
| Subject: | Re: Transparent session handling | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1353@lists.php.net to get a copy of this message | ||
On Thu, 8 Jun 2000, Michael Stearne wrote:
> > The difference is, the output doesn't need to be buffered if the user has
> > cookies enabled (the bug doesn't happen when the sid is passed as a
> > cookie).
> >
>
> Oh, but there are other reasons to use it, like if you want to do header or MIME
> stuff.
True, but don't need that quite yet. :)
> > There doesn't appear to be any documentation on the output buffering. Is
> > there any way to do an incremental flush? Rather than just one big flush
> > at the end?
> >
>
> ob_get_contents() I believe returns the contents right now. I saw a little
> documentation on it somewhere but I forget where, php.net or zend.com
From what I can tell, that just returns a string with the buffer
contents. Perhaps I need to do an ob_end_flush(); ob_start(); ? Anybody
in the know on this?
Peter
--------------------------------------------------
Peter D. Kovacs KnowPost.com LLC
Lead Engineer peter@knowpost.com
--------------------------------------------------