sessions simply don't work
| From: | ken lee | Date: | Fri, 19 Dec 2003 20:18:22 +0000 |
| Subject: | sessions simply don't work | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173039@lists.php.net to get a copy of this message | ||
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 intranet and IIS after being uploaded to a web
server. The browser is set to recieve cookies. All the books say it should
work.
Has anybody any ideas? I've wasted a whole day on this joker!
Ken Lee.