Hello Jason, first of all I'm sorry that I wasted your time. After I read your post, I went to the location_Detail.php page and looked at the code. This bit of code was already there.
$ParamSessionlocation_id_WADAlocations = "-1";
if (isset($_SESSION['WADA_Insert_locations'])) {
$ParamSessionlocation_id_WADAlocations = $_SESSION['WADA_Insert_locations'];
}
I am unsure how that got generated, but I'm assuming that the DATAAssist Wizard had something to do with it.
I went back into the insert pages and changed the redirect from the second insert behavior to the basic URL "locations_Detail.php" and sure enough it functioned perfectly.
I first of all want to thank you for thinking of these features and making things so much easier.
I feel like an idiot for wasting three days trying to make things more complicated by sending the variable through the URL, when all I had to do is set the redirect to the details page and it was ready to go. Okay, live and learn. I'll try not to waste anymore of your time!