Posted by Miguel Cruz on 07/26/06 18:36
bobmct <r.mariottiX@fdcx.netX> wrote:
> It appears that if NO output is done prior to the header() function then the
> session_start() will still work.
>
> Normally for debugging I display some variables as output and it appears
> that is what was biting me.
>
> As someone once said decades ago: "If the computer is smart enough to know
> its incorrect, then why isn't it smart enough to correct it?"
ob_start() is your friend.
miguel
--
Photos from 40 countries on 5 continents: http://travel.u.nu
Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
Airports of the world: http://airport.u.nu
Navigation:
[Reply to this message]
|