forms based authentication
From: buran (buran@buran.com)
Date: 04/18/03
- Next message: Steve C. Orr, MCSD: "Re: forms based authentication"
- Previous message: Victor Garcia Aprea [MVP]: "Re: Securing schema files"
- Next in thread: Steve C. Orr, MCSD: "Re: forms based authentication"
- Reply: Steve C. Orr, MCSD: "Re: forms based authentication"
- Reply: Luc Kumps: "Re: forms based authentication"
- Reply: buran: "Re: forms based authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "buran" <buran@buran.com> Date: Fri, 18 Apr 2003 10:21:50 +0300
Hi there,
I am using forms based authentication and everything works fine except
something I cannot resolve. If I call a page in my application without being
logged in, the application sends me to the login page, that's what it should
do. After logging in, I can view the page. But, if I call the login page
directly, and enter correct credentials, it will look for default.aspx page
which is not available. How can I avoid that? Thanks in advance.
Private Sub btnValidate_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnValidate.Click
If ValidateUser(txtUserName.Text, txtPassword.Text) Then
FormsAuthentication.RedirectFromLoginPage(txtUserName.Text,
False)
End If
End Sub
- Next message: Steve C. Orr, MCSD: "Re: forms based authentication"
- Previous message: Victor Garcia Aprea [MVP]: "Re: Securing schema files"
- Next in thread: Steve C. Orr, MCSD: "Re: forms based authentication"
- Reply: Steve C. Orr, MCSD: "Re: forms based authentication"
- Reply: Luc Kumps: "Re: forms based authentication"
- Reply: buran: "Re: forms based authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|