in reply to problem using the set-cookie and the Location headers together

Are you using IIS?
set-cookie with location -> BUG: Set-Cookie Is Ignored in CGI When Combined With Location
  • Comment on Re: problem using the set-cookie and the Location headers together