Ray,
This is really weird. I am now able to get the cookie to work with the test page but not the confirm page. I copied all the info into the same place as on the test page.
The URL for the test is cookieTest.php, The main page where I need the code to work is at:
confirm.php.
Thanks.
Regards,
Rob