
Can anyone help me?
I have an login page and i am authenticating and setting my session variable, thats works fine. when i click the logout i got the following error
"trying to delete uninitialized session on line number 3"
here is my logout code logout.php [ i am using php4.2 ]
session_start();
session_unset();
session_destroy();
header('Location:./login.php');
Thanx in advance