Posted by Bent Stigsen on 06/18/06 17:25
TristaSD wrote:
> I tried to follow php.net manual to the best of my ability, but I'm
> getting two errors now:
>
> Warning: session_start(): Cannot send session cache limiter - headers
> already sent
> Warning: Cannot modify header information - headers already sent by
Make sure you don't have any output before calling session_start. Not even a
space or a newline.
> All I want to do is create a login page that starts the session, and a
> logout page that destroys the session. I'm having a hell of a time.
You'll get there. Just remember that session_start needs to be called in all
pages that uses the session-functions or access the session data.
--
/Bent
[Back to original message]
|