I am kind of confused by an error I am getting when trying to destroy a
session. Here is the error that I am receiving along with the code that is
causing the problem.
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
<?
session_start();
$old_user = $cumc_user; // store to test if they *were* logged in
$result = session_unregister("cumc_user");
session_destroy();
?>
This is the only code on that particular page, I just want to make sure that
when they leave the site via my links that the session is destroyed.
--
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