Sessions... Argh!

From: Date: Sat, 25 Nov 2000 05:00:40 +0000
Subject: Sessions... Argh!
Groups: php.general 
Request: Send a blank email to php-general+get-27092@lists.php.net to get a copy of this message
Ok... Im new to this sessions stuff, but here we go.. I have a script that authenticates your login/pass (roughly) that it retrieves as a result of a form. I'd like to make my script be able to start a session right after it verifies who is using the script. But when use the following I get the below errors: if ($email == $dbemail && $password == $dbpass) { echo "good login"; include('startsession.php'); exit; Warning: Cannot send session cookie - headers already sent by (output started at /home/zero/war/login.php:2) in /home/zero/war/startsession.php on line 4 Warning: Cannot send session cache limiter - headers already sent (output started at /home/zero/war/login.php:2) in /home/zero/war/startsession.php on line 4 HELP! :) ----- Liam A. Strand listrand@pobox.com http://www.loststar.net/

« previous php.general (#27092) next »