note 9132 added to session_start

From: Date: Wed, 18 Oct 2000 02:09:24 +0000
Subject: note 9132 added to session_start
Groups: php.notes 
Request: Send a blank email to php-notes+get-6609@lists.php.net to get a copy of this message
I have found a solution to the following error: "Warning: Cannot send session cache -limiter headers already sent by (...)" This error kept occuring when I tried the following: <?php require "./ErrorMessage.php"; require "./Login.php"; session_start(); --clip-- ?> Apparently there were line breaks AFTER my final ?> tag in my external classes. Remove these, and you should be all set. ~Jason http://www.php.net/manual/function.session-start.php

« previous php.notes (#6609) next »