Re: [PHP] sessions simply don't work

2003-12-19 Thread Peter Walter
Ken, I had exactly the same problem and it really stumped me for a while. Check your php start and end tags carefully - even a single space before or after the tags (before the session_start() ) will cause this problem. Check any included files before the session_start(). Peter Brad Pauly wr

Re: [PHP] sessions simply don't work

2003-12-19 Thread Brad Pauly
On Fri, 2003-12-19 at 13:18, ken lee wrote: > I'm getting this message all the the time I try to start a session with > session_start. > > Cannot send session cookie - headers already sent > > It's the first line of code in the file. I'm even getting the error with a > single session_start() func

RE: [PHP] sessions simply don't work

2003-12-19 Thread jon
Maybe you should post the first few lines of your code... -- jon -Original Message- From: ken lee [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 1:18 PM To: [EMAIL PROTECTED] Subject: [PHP] sessions simply don't work I'm getting this message all the the

[PHP] sessions simply don't work

2003-12-19 Thread ken lee
I'm getting this message all the the time I try to start a session with session_start. Cannot send session cookie - headers already sent It's the first line of code in the file. I'm even getting the error with a single session_start() function on its own in a file. It fails on Apache on my intran