Is the page ID held in $_SESSION['PageID'] or $_COOKIE['PageID'] something? Or, is there something much simpler like {PageID}

SOLUTION: You can obtain the pageID by using $_GET['PageID'];