My website was working fine until today when I got the following error: session cache limited and for some reason, my site keeps telling me to logout out even though that I already have logged out...I don't thik I have anything outputted before the session tag...
I tried to set the header so that it has expired so that I can login but it doesn't work.
This is my php code for index.php
<?php
include_once __DIR__.'/header2.php';
if (!isset($_SESSION['u_uid'])) {
echo "<meta http-equiv='refresh' content='0;url=header2.php?index=mustloggedoutfirst'>";
exit();
} else {
include_once __DIR__.'/viewcounter.php';
include_once __DIR__.'/includes/dbh.php';
}
?>
and this is the php code for header2.php
<?php
session_start();
?>