Hi ALL
Ive set up some sessions using an tutorial. Everything seems to be fine but when i log out, the page works but i get a warning:
Warning: Trying to destroy uninitialized session
the code that is on the page is:
<?
session_destroy();
if(!session_is_registered('first_name')){
echo "<center><font color=red><strong>You are now logged
out!</strong></font></center><br />";
echo "<center><strong>Login:</strong></center><br />";
include 'log_in1.htm';
}
?>
What does the warning mean?
SORRY BUT I SORTED IT OUT.