in reply to Setting Cookies First and Redirecting Page

As some people answering your query have already hinted at, possibly your problem is the domain in the cookie. You don't seem to be explicitely setting the domain for your cookies, so they are only valid for the domain they are set from. If your script is not running on www.mypage.com, the cookies are not sent by the browser with the redirected request.

CU
Robartes-

  • Comment on Re: Setting Cookies First and Redirecting Page