Sorry it looked like the rest of your email was part of the previous one.
To answer your question it is better to call session_start() before
ob_start()
On 12/8/05, Zack Bloom <[EMAIL PROTECTED]> wrote:
>
> I have never tried it but if it did work i doubt it would use cookies, it
> would probably
I have never tried it but if it did work i doubt it would use cookies, it
would probably pass it in the addresses or throw an error.
On 12/8/05, Joe Harman <[EMAIL PROTECTED]> wrote:
>
> I guess this was just out of general curiousity... If you started
> 'session_start()' after 'ob_start()' would
Zack Bloom wrote:
Sure, ob_start begins a buffer allowing you to display content in
the browser before your script has finished executing.
Calling ob_start() turns on PHP's output buffering. In other words, it
buffers output from the moment this function is called until the buffer
is flushed
On Thu, Dec 08, 2005 at 01:23:40AM -0500, Joe Harman wrote:
>
> So, the question is really... in what order is the best way to do
> this... I would think that you always want to start a session first...
> but then again, you guys are the experts... i am sure someone knows a
> reason when you shoul
I guess this was just out of general curiousity... If you started
'session_start()' after 'ob_start()' would the sessions work
correctly? k.. maybe I am still confused... lol... I normally do
session_start() before the ob_start()...
Zack Said : 'yes, it will display the content in the buffer
Sure, ob_start begins a buffer allowing you to display content in the
browser before your script has finished executing. This is useful when
loading a time intensive page to tell the user to wait. When you create a
session (provide php is not configured otherwise) php attempts to store a
cookie w
Joe Harman wrote:
Okay...makes sense after you spelled it out to me.
That didn't make sense to me (and I missed the original reply). Mind
elaborating? :-)
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
--
PHP General Mailing List (http://www.php.net/)
To unsu
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 <[EMAIL PROTECTED]> wrote:
> yes, it will display the content in the buffer before creating the session.
> If
8 matches
Mail list logo