Dear all,
I have try to use session and I want to make the logout part...I try to redirect the page to logout.php when the user click "logout". However, here is the error:
Warning: Trying to destroy uninitialized session ...
What don't know why?
I just put the following at the top of the page.
<?
session_unregister("username");
session_destroy();
?>
Is there anything wrong...thanks for solving the problem...
Lisa