My code is this:
<?php
//Start session
session_start();
//Check whether the session variable SESS_MEMBER_ID is present or not
if(!isset($_SESSION['SESS_MEMBER_ID']) || (trim($_SESSION['SESS_MEMBER_ID']) == '')) {
header("location: access-denied.php");
exit();
}
?>
and I am facing this warning, when I login succcessfully:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent
if any buddy know this answer then plz tell it to me,
thnx