in reply to cgi cookie failure
Please elaborate on how the script "no longer works." Are you getting an error message? Are the cookies simply not making their way to the browser? You can test the latter by setting your cookie settings to "prompt" in your browser, which should give you details on what the script is attempting to set. If you haven't narrowed down the nature of the problem, perhaps you should put in some debugging code to echo out some of your variables there and see where the problem manifests itself.