at the top of any page that your calling a session variable or you'll get that error
Tracy
That's great Tracy, many thanks for your help, works a treat.
At present I am having to manually add code to each page that redirects depending on UserGroupID, is that the best way to work this do you know?
I have 4 groups, depending on who logs on they get a different home page I( have added this to a 'blank' home page used only to redirect users to their homepage:
<?php
if(!session_id()) session_start();
switch($_SESSION['SecurityAssist_UserGroupID']) {
case "2":
header("Location: direct_tblcontacts_Results.php");
break;
case "4":
header("Location: staff_tblcontacts_Results.php");
break;
case "5":
header("Location: admin_tblcontacts_Results.php");
break;
}
?>
Do you know if SA does this automatically?
Thanks again
Gary