Here is the problem in a nut shell:
I am setting a cookie after logging in. This works fine. But if I try to redirect right after the cookie doesn’t get set.
$day=(86400 + time());
setcookie('AccountType', $accountType, $day,'/');
setcookie('CustomerID', $newcID, $day,'/');
header('Location: ../products/');
Any Ideas?