General information
Category:
West Wind Web Connection
Hi! this command:
Response.Redirect([http://localhost/bermitopia/FORUM/default.asp]) don't work in my app
here is the complete code:
FUNCTION Process
THIS.InitSession()
Session = THIS.oSession
Request = THIS.oRequest
Response = THIS.oResponse
IF !THIS.Login()
RETURN .F.
ENDIF
DODEFAULT()
RETURN .T.
ENDFUNC
FUNCTION Login()
IF !EMPTY(Session.GetSessionVar("Username"))
RETURN .T.
ENDIF
pcErrorMsg = ""
lcUsername = Request.Form("UserName")
lcPassword = Request.Form("Password")
IF !EMPTY(lcUsername)
IF NOT goAPP.RegisterUser(lcUserName, ;
lcPassword)
pcErrorMsg = "Invalid Login"
ELSE
Session.SetSessionVar("Username",lcUserName)
Response.Redirect[http://localhost/bermitopia/FORUM/default.asp RETURN .T.
ENDIF
ENDIF
ENDFUNC
i need when the user is ok change to another page.
Best Regards
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only