Here is how the records set is configured on the profile.php page:
<?php
$ParamUserID_WAATKusers = "-1";
if (isset($_SESSION['UserID'])) {
$ParamUserID_WAATKusers = (get_magic_quotes_gpc()) ? $_SESSION['UserID'] : addslashes($_SESSION['UserID']);
}
mysql_select_db($database_localhost, $localhost);
$query_WAATKusers = sprintf("SELECT users.*, Level FROM users INNER JOIN userlevels ON users.userLevel = userlevels.ID WHERE UserID = %s", GetSQLValueString($ParamUserID_WAATKusers, "-1"));
$WAATKusers = mysql_query($query_WAATKusers, $localhost) or die(mysql_error());
$row_WAATKusers = mysql_fetch_assoc($WAATKusers);
$totalRows_WAATKusers = mysql_num_rows($WAATKusers);
?>
Here is what the current domain is passing over to the other:
<form id="form" method="post" action="http://www.mycorpu.org/index.php">
<input name="UserID" type="hidden" value="<?php echo $_SESSION['UserID']; ?>">
<input name="userLevel" type="hidden" value="<?php echo $_SESSION['userLevel']; ?>">
<a onClick="form.submit();">Corporate University </a>
</form>
Other than the userLevel and UserID, there are no other sessions (supposedly) being passed.
When I stated in my other post that I was able to successfully pass the variables over, I noticed that (at least) the userLevel session was passing, since I was able to access content secured by SA. The shopping cart was also able to recognize the userLevel session, as it applied the correct discounts and passed me to PayPal without login. It is possible that the UserID session may not be passing over, since it appears I could not see the user profile data.
Thoughts?