in reply to CGI Cookie creation problem
$mc_form_member_name is undefined, thus the $cookie object is not created, thus the HTTP header created by the redirect method does not contain the Set-Cookie line. All your programs should include use strict; use warnings FATAL => 'all'; to abort on such common mistakes.