N
Nugs
How can I set the page that the login page needs to send the user to. I have
a login page that does the RedirectFromLoginPage method, but I am now
needing to explicitly tell the login page where to go instead of it looking
for the previously requested page. How would I do that?
My code is as follows:
<script language="vb" runat="server">
Sub Login_Click(Src As Object, E As EventArgs)
IF eon_login.Recordcount > 0 then
FormsAuthentication.RedirectFromLoginPage(txtUserID.Text,
chkPersistLogin.Checked)
Else
ErrorMsg.InnerHtml = "Login Failed! Please try again."
End If
End Sub
</script>
Thanks
Nugs (ASP.NET Newbie)
a login page that does the RedirectFromLoginPage method, but I am now
needing to explicitly tell the login page where to go instead of it looking
for the previously requested page. How would I do that?
My code is as follows:
<script language="vb" runat="server">
Sub Login_Click(Src As Object, E As EventArgs)
IF eon_login.Recordcount > 0 then
FormsAuthentication.RedirectFromLoginPage(txtUserID.Text,
chkPersistLogin.Checked)
Else
ErrorMsg.InnerHtml = "Login Failed! Please try again."
End If
End Sub
</script>
Thanks
Nugs (ASP.NET Newbie)