URL showing username and password....? Please help

  • Thread starter Thread starter Rudi Ahlers
  • Start date Start date
R

Rudi Ahlers

I got an ASP site, which displays anything from forms, even the username and
password in the address bar. How do I tell it not todo that?

--

Kind Regards
Rudi Ahlers
+27 (82) 926 1689

For as he thinks in his heart, so he is. ... (Proverbs 23:7)
 
It's your forms. There are two ways to send data using a form, the GET
method and the POST method. Your forms must be using the GET method. The GET
method takes all the form responses and appends them to the URL as a
querystring. The POST method sends them to the server directly. However, you
may have problems if your form handlers require the data to be using the GET
method because getting the data for these are done differently. For example:
To get a form field called EmailAddress that was sent using the GET method
is done by calling Request.QueryString("EmailAddress"). To get a value sent
by POST you call Request.Form("EmailAddress"). If you try using a
Request.Form to access a variable when the data is sent by GET you'll get an
empty string returned as it can't find the variable.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
Back
Top