sessions

From: Date: Wed, 20 Mar 2002 21:05:42 +0000
Subject: sessions
Groups: php.general 
Request: Send a blank email to php-general+get-89406@lists.php.net to get a copy of this message
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 josh@acsurf.net "Don't work for recognition, but always do work worthy of recognition."

« previous php.general (#89406) next »