I know this has to be a very simple answer, but I cannot figure out how to convert an existing html form into asp.net. The form is used on my site to collect a username and password and post that to another site in order to log the user in. So far, the only thing I can figure out to do is a response.redirect statement that puts the username and password in the query string
Code:
Response.Redirect("http://www2.monstertrak.com/students/reg/main.html?q=" & Server.UrlEncode(TextBox1.Text.ToString()) & "&Server.URlEncode(TextBox2.Text.ToString()))
Of course the problem with this is that everyone can see the username and password.
I've been looking for the answer for days now, can someone please help?