Posted by Rik on 10/18/06 15:26
Garry Jones wrote:
> Okay, it does seem like I have to move session_start somewhere else
> in the code. Thats a bit of a nightmare because the code itself
> should only have session_start based on a couple of conditions. These
> conditions are met when that php code segment is called for. I am
> going to have to make a copy of the very same if statements higher up
> and start the session earlier. That should do it if I have understood
> you correctly.
Indeed.
Things like headers, actions to take, etc, I usually do before any HTML
output at all.
--
Grtz,
Rik Wasmus
[Back to original message]
|