Why not have the form post back to itself, ie once a user ha ssubmitted the data, the code will check the database to see if the person is a valid user, if it is, the code should redirect them to which ever page comes next, if not redirect them back to the login screen, with an error message.
|