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

    Join Date
    Jun 2012
    Rep Power

    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
    Rep Power
    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
    I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton

IMN logo majestic logo threadwatch logo seochat tools logo