Re: ob_start & session_start
| From: | Joe Harman | Date: | Thu, 08 Dec 2005 04:25:09 +0000 |
| Subject: | Re: ob_start & session_start | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227105@lists.php.net to get a copy of this message | ||
Okay.. makes sense after you spelled it out to me... LOL... I always
start my session first.. so, that must why i have never had any
problems
Cheers & Thanks!
Joe
On 12/7/05, Zack Bloom <zackbloom@gmail.com> wrote:
> yes, it will display the content in the buffer before creating the session.
> If your session uses cookies (this is usually automatically decided by php)
> it cannot send out the header after the buffer.
>
>
> On 12/7/05, Joe Harman <cjharman@gmail.com> wrote:
> >
> > Hello,
> >
> > Something just crossed my mind about using output buffering.... is
> > there any reason why you should start a session before calling
> > ob_start() ???
> >
> > Just curious which way would be the proper way of doing it... or
> > doesn't it matter?
> >
> > Thanks
> >
> > --
> > Joe Harman
> > ---------
> > * My programs never have bugs, they just develop random features.
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
--
Joe Harman
---------
* My programs never have bugs, they just develop random features.