The problem sounds like this: The log-in using sessions works perfect on my localhost, but when the EXACTLY same files are uploaded to my host (hostgator), the sessions don't or, or they get messed up. Also the log-out feature doesn't work on the host.
Ben kontrol ettik ve her sayfa session_start () var; içine.
Oturum benim logout.php bu gibi görünüyor olsa bile, yok değil:
<?php
session_start();
$_SESSION = array();
session_unset();
session_destroy();
header("location:index.php");
exit();
?>
Herhangi bir öneriniz?