user 'Logout' is not working in my website after migrating to new server. before it was good.
here is the code in member.php
// Log-out part
if (isset($_GET['logout'])){
$pass = "";
setcookie ("pwd","",time()-3600);
$pwd = "";
setcookie("name","",time()-3600);
$name="";
setcookie("type","",time()-3600);
$type="";
header("Location: member.php");
}
Looking for help
Thank you