note 21444 added to function.session-start

From: Date: Mon, 13 May 2002 18:57:14 +0000
Subject: note 21444 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-30591@lists.php.net to get a copy of this message
Well this is somwhere with the cookies but I might add it here too. (I am not to credit for the cookie one) To resolve all Header problems simply call at the begining of your document: ob_start(); and all headers will be "held" back. Once you whish to flush the Headers or simply let the system decide use: ob_end_flush(); It helps alot reducing confusion and collisions with Headers while using Cookies or other header relavent stuff. Who ever finds a spelling mistake may keep it! -- http://www.php.net/manual/en/function.session-start.php http://master.php.net/manage/user-notes.php?action=edit+21444 http://master.php.net/manage/user-notes.php?action=delete+21444 http://master.php.net/manage/user-notes.php?action=reject+21444

« previous php.notes (#30591) next »