Date:  03/11/2002 07:05:54 AM Msg ID:  000428
From:  Gary Thread:  000428
Subject:  SetCookie

I have a password form that POSTs back to itself to validate the password, then upon authentication, sets a cookie, the redirects to an ASP page.
The problem is the cookie does not get set immediately.

If PasswordCheckout
  llAuth = TRUE
  Response.SetCookie("ecXfer","Pass",,"/")
Endif

Response.Write('</BODY></HTML>')
Set Procedure To
If llAuth And !Empty(Request.GetCookie("ecXfer"))
Response.Redirect("/ECScripts/ecUpload.asp")
        Response.Write('GOGOGO')
    Endif