Hello i have just switched servers and found i i am now getting session errors since the server has globals set to off.
"undefined variable $_session "
i was using this script
<?
session_start();
if(!session_is_registered(user_id)){
header("location:login.php");
}
?>
on each page to make sure the user had logged in and i was collecting the user_id on some pages for sql querys so i could find out what user was doing whatever on the page.
$user=$_SESSION['user_id'];
is there anyway arround this since i cannot use the $_session anymore?