I got into the error page, it tell me to clear cookie. I did ! but error still occur.
.htaccess code:
Code:
# Do not remove this line, otherwise mod_rewrite rules will stop working
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Index.php
Code:
<?php
session_start();
if(!$_SESSION['logged_in'] ) {
header("location:session/login.php");
}
?>
Any ideas ? thanks in advanced.