From: http://www.php.net/manual/en/function.session-start.php

"Note:  If you are using cookie-based sessions, you must call
session_start() before anything is outputted to the browser."


You have to put session_start before anything else.


On Mon, 2004-07-12 at 15:40, Michael Purdy wrote:
> 
> Warning: session_start(): Cannot send session cookie - headers already sent by 
> (output started at e:\http\cgi\a.php:14) in e:\http\cgi\a.php on line 15
> 
> Warning: session_start(): Cannot send session cache limiter - headers already sent
> (output started at e:\http\cgi\a.php:14) in e:\http\cgi\a.php on line 15 
> 
> Can anyone offer me a insight on the reason for the error.
> 
> Mike
-- 
I/O, I/O,
It's off to disk I go,
A bit or byte to read or write,
I/O, I/O, I/O...

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to