forms based authentication

From: buran (buran@buran.com)
Date: 04/18/03


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



Relevant Pages

  • forms authentication question
    ... I am using Forms authentication for the first time, ... private void Page_Load(object sender, System.EventArgs e) ... Default_new_user.aspx is used to login users that don't have a cookie on ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: forms based authentication
    ... > I am using forms based authentication and everything works fine except ... if I call the login page ... > Private Sub btnValidate_Click(ByVal sender As System.Object, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Forms Authentication
    ... I am using Forms authentication in my web application, ... authenticating used it is again redirecting to Login page..... ... How to resolve that issue. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Forms Authentication
    ... I am using Forms authentication in my web application, ... authenticating used it is again redirecting to Login page..... ... How to resolve that issue. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • [Full-Disclosure] Advisory: Dark Age of Camelot - Weak encryption of network traffic exposed persona
    ... Weak encryption in game client exposed customer billing and authentication ... encryption for billing information. ... The login binary has undergone several updates since then. ...
    (Full-Disclosure)