in reply to CGI::Application - Setting a Cookie and Redirecting

I have had a similar problem before and I seem to recall it had something to do with setting both the domain and path attributes of the cookie. CGI.pm actually tried to set the cookie, but for some reason when you are setting the cookie inside a redirect, the browser requires the path and domain attributes. The other difference I noticed is that I used the "location" attribute to specify the redirect destination and you have used the "uri" attribute. Hope this helps.
  • Comment on Re: CGI::Application - Setting a Cookie and Redirecting