Destroying sessions via a logout button?? Is there a php function i should have called somewhere. Should it be in the head of the file, like am
if($PHPSESSID)
{
if($logout)
{
$access = no;
}
}
(note, $access is the variable which is controlling welcome message as well as access to various areas of the site, if access exists then the other variables must exist in the session.