For tessting, change the code on the index page that sets the session variabels to:
<?php
if (!session_id()) session_start();
$_SESSION["CartAccessCode1"] = "";
$_SESSION["CartAccessCode2"] = "";
if (isset($_POST["ClubCartUSA_1_ATC"]) || isset($_POST["ClubCartUSA_1_ATC_x"])) {
$_SESSION["CartAccessCode1"] = WA_RandomPassword(10, true, true, true, "");
$_SESSION["CartAccessCode2"] = WA_RandomPassword(10, true, true, true, "");
var_dump($_SESSION);
die();
}
if (isset($_POST["ClubCartUSA_2_ATC"]) || isset($_POST["ClubCartUSA_2_ATC_x"])) {
$_SESSION["CartAccessCode1"] = WA_RandomPassword(10, true, true, true, "");
$_SESSION["CartAccessCode2"] = WA_RandomPassword(10, true, true, true, "");
var_dump($_SESSION);
die();
}
?>
this will cause the script to stop functioning if the variables are being set and show them on the screen.
If they are displayed on the screen, then remove the two:
var_dump($_SESSION);
die();
lines and add:
<?php var_dump($_SESSION); ?>
to the cart page in the body.
post back your results after testing.