Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

basic asp login

Options
  • 21-03-2006 12:07pm
    #1
    Closed Accounts Posts: 873 ✭✭✭


    hey guys this doesnt seem to work, im only learning so im starting with the basics first:

    <%
    user = request.form("enteredusername")
    pass = request.form("enteredpassword")
    if user = "nicky" && pass = "nicky" then
    %>

    <html>

    <head>

    <title>Welcome</title>

    </head>

    <body bgcolor="#C0C0C0">

    <p><b><font size="5" color="#0000FF">Welcome</font></b></p>

    </form>

    </body>

    </html>

    <%else
    response.redirect "index.htm"
    end if
    %>


Comments

Advertisement