Hi there....
I used UNIX htaccess for Log in to my web page. Inside my code I use MYSQL with PHP but everytime I closed the seeion for MYSQL.
Now my goal is to logo out from unix server and once I do that no matter how many same web page I have open will be logged out or inactive as for example in hotmail accout if you do log out once you cannot have access for the other hotmail window if there is any open one. I am using following code but it's not working. Please have a look and help me.....
Thank you.
PHP Code:
<html>
<head>
<title>
</title>
</head>
<body>
<?php
function logoutFromHTTP()
{
unset($_SERVER['PHP_AUTH_USER']);
unset($_SERVER['PHP_AUTH_PW']);
}
logoutFromHTTP();
print "Logout Successfull";
?>
</body>
</html>