#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Posts
    17
    Rep Power
    0

    What's wrong with this form?


    The form displays fine, but nothing happens when I hit submit.

    This is in a page called login2.asp:

    Content = Content & "<form name=frmMain method=POST action=verify2.asp>"
    Content = Content & "<tr><td><br>Username: <input type=text name=txtUsername2></td></tr>"
    Content = Content & "<tr><td>Password: <input type=password name=txtPassword2></td></tr>"
    Content = Content & "<tr><td valign=top align=center><input type=submit name=cmdSubmit value=Login></td></tr>"
    Content = Content & "</form>"

    Verify2.asp redirects to several different places depending on the outcome of the form verification. None of those places are back to login2.asp :/

    Thanks in advance...
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,451
    Rep Power
    4539
    You should do some googling for asp debugging techniques. Your question can't be answered from the information you've posted. Put some debug hooks in your verifyw.asp to start tracking down the problem. You can inspect the content of a variable using response.write variablename, and if you follow that with response.end you can stop the script at that point.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester

IMN logo majestic logo threadwatch logo seochat tools logo