Re: Cannot send session cookie

From: Date: Mon, 12 Jul 2004 15:01:48 +0000
Subject: Re: Cannot send session cookie
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190236@lists.php.net to get a copy of this message
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: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.general (#190236) next »