View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   

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