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

you have to redirect before you store a cookie.
  • Comment on Re: problem using the set-cookie and the Location headers together