Re: ob_start & session_start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx> 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux