Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Nov 2002
    Posts
    184
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Login.aspx example?

    Does anyone have any login.aspx example that I might see how it works in vb code-behind?
    My login page has: userid, password, and login button; also, a changepassword button, when the user clicks on changepassword button, a newpassowrd (textbox) and a confirm_newpassword(textbox) show. How do we do that?
    Thanks so much for your help. this is my first program.

  • #2
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    full login

    If Page.IsValid Then

    If door(t_Login.Text, t_Pass.Text) Then

    FormsAuthentication.RedirectFromLoginPage(t_Login.Text, False)

    End If

    End If

    my fonction door just return a boolean , reading first the database to see if login and password fit


    of course you must configure your web.config first


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •