hideotakao
12-19-2002, 02:04 AM
Hi how are you doing? What I am doing is that When a user clicks "logout", it should go to my index.html. Even though a user click "back button", he has to put his username and password.
In other words, it is like yahoo.mail. Once you logout, you should type username and password.
I did with session.
but it is not working now.
could you help me out?
<?php
session_start();
if($_GET['logout']){
$_SESSION=arrary();
session_destroy();
header("Location:Ja1test.php");
}
echo"<p><a href='index.html?logout'>Logout</a></p>";
?>
In other words, it is like yahoo.mail. Once you logout, you should type username and password.
I did with session.
but it is not working now.
could you help me out?
<?php
session_start();
if($_GET['logout']){
$_SESSION=arrary();
session_destroy();
header("Location:Ja1test.php");
}
echo"<p><a href='index.html?logout'>Logout</a></p>";
?>