Re: [PHP4BETA] Session: Cannot add header information - headers already sent in

From: Date: Fri, 04 Feb 2000 14:03:23 +0000
Subject: Re: [PHP4BETA] Session: Cannot add header information - headers already sent in
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-9808@lists.php.net to get a copy of this message
On Fri, 4 Feb 2000, john huttley wrote: > Hello I'm having problems understanding sessions. > > It seemed to work then suddenly I was getting these messages when I try to > session.register() a variable. It should read session_register(), not session.register(), but that's not likely your problem... > Would someone please enlighten me as to the likely cause? ... but instead you seem to send something else before it gets to the session_register (or session_start()). Check if you've got a linefeed at the top of your script and if so, remove it. You can not have _any_ output except for headers before session-stuff. Regards, Kenneth Mutka

« previous php.version4 (#9808) next »