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 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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.551 / Virus Database: 343 - Release Date: 12/11/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.551 / Virus Database: 343 - Release Date: 12/11/2003
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php