"on line 10"? Curious, you don't even have 10 lines there. Do you have lines above the PHP tag <?. The <? Must start the first character on the first line of the page otherwise the browser will interpret it as either Content-type: text/plain or Content-type: text/html and give you a "headers already sent" error.
Hope that helps. -Kevin -----Original Message----- From: Joshua E Minnie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 12:53 PM To: [EMAIL PROTECTED] Subject: [PHP] Sessions I am kind of confused by this error that I am receiving when I try to logout of a session. If somebody could pleae help me out here. Warning: Cannot send session cache limiter - headers already sent (output started at /home/www/wildwebtech/cumc/default.php:9) in /home/www/wildwebtech/cumc/default.php on line 10 Here is the code that is causing the problem. <? session_start(); $result = session_unregister("valid_user"); session_destroy(); ?> -- Joshua E Minnie CIO [EMAIL PROTECTED] "Don't work for recognition, but always do work worthy of recognition." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

