I have a protected page that requires a certain level to access and the basic code is
prioritylist.php
<?php
include("mylogin/include/session.php");
if( !$session->overUserlevel(4)){
echo "You are NOT logged in OR your access level is too low!<br /><bf />";
}
else {
?>
Protected page code follows
<?php
}
?>
What I want to accomplish is if a login is required (main.php) after logging in I want to return to prioritylist.php
Any and all help appreciated.