|
Posted by Rik on 08/06/06 13:40
Peter Boosten wrote:
> d43m0n AT shaw DOT ca <d43m0n@shaw.ca> wrote:
>>
>> you should not use sessions without using a buffer, aka, ob_start().
>
> Interesting: why does the php site not mention this claim?
Because it's a silly claim.
Sessions work fine without output buffering. Just make sure they're started
before any output. People using output buffering just to work with sessions
usually just have sloppy code. Output buffering CAN be worthwhile, put has
little to do with the headers being sent before the content.
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|