I am trying to pause redirect after login.
I have the following code which works but doesn't pause so I can display a message:
I tried
But always redirects to the default homepage and doesnt pause
I have the following code which works but doesn't pause so I can display a message:
Code:
FormsAuthentication.RedirectFromLoginPage(txtEmail.Text, False)
Response.Redirect("babysitters/home.aspx")
I tried
Code:
FormsAuthentication.RedirectFromLoginPage(txtEmail.Text, False)
'Response.AddHeader("Refresh", "4;URL=babysitters/home.aspx")
Response.Redirect("babysitters/home.aspx")
But always redirects to the default homepage and doesnt pause