in reply to Playing with Cookies

If you're using CGI to create cookie, print header, use it to set cookie and redirect as well