|
Posted by Jerry Stuckle on 08/06/05 05:42
lkrubner@geocities.com wrote:
>>On Thu, 21 Jul 2005 11:43:55 -0700, lkrubner wrote:
>>
>>>No, I meant, I was setting a cookie, then calling session_start(), and
>>>I was getting an error. Can I call session_start() and then set a
>>>cookie? I want to set a permanent cookie that will last one million
>>>seconds. I also want sessions.
>>
>>AND WHAT IS THE ERROR????
>
>
> You can see the problem here:
>
> http://www.publicdomainsoftware.org/
>
<br />
<b>Warning</b>: session_start(): Cannot send session cookie - headers already
sent in
You're sending <br /> before the session_start call.
You can't send ANYTHING (including a blank line) before the session_start() call.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|