thats not quite how the code works. That cosde is passing in variables to perform the authentication. The athentication happens inside of the $WA_Auth_Parameter function, you cant pass the $_SESSION['school_PID'] into the function, because it hasn't been set yet.
Try this instead, set the redirect for the authenticate user behavior to just go to Products_Detail.php, then add the following code at line 1:
<?php
if(!session_id()) session_start();
if((!isset($_GET['ProductID']) || $_GET['ProductID'] == "") && (isset($_SESSION['school_PID']))) {
$_GET['ProductID'] = $_SESSION['school_PID']
}
?>[/php]