Post v. Get

POST holds more info than GET and is more secure since it doesn't show up in the URL. POST sends a separate command to the server with all the info in it.

<%= Request.Form("variable_name") %>

GET is how a file is requested from the server. For instance, by requesting the file "/source/page01.asp", the browser sends the command "GET /source/page01.asp". Therefore, to send info with the GET command you need to request the page "/source/page01.asp?Variable=Value". The server knows to pass anything after the "?" as data.

<%= Request.QueryString("variable_name") %>

asp asp forms forms post get querystring form data

Back To Top
© 1998 - 2024
Version 7.21 | Advertise on this site