ASP QueryString Variables

by Ramya 2010-01-29 10:07:40

ASP QueryString Variables:

Form get method - Sends the form data as part of the URL (e.g. "test.asp?site=asp.hscripts.com").It's useful and efficient for small amounts of data. However it cannot be used for large amounts of data.

form get method asp:
<form method="GET" action="somepage.asp">
Name <input type="text" name="Name">
<input type="submit">
</form>


ASP QueryString:
<%
Dim name
name = Request.QueryString("Name")
Response.Write("Name: " & name)
%>


Tagged in:

702
like
0
dislike
0
mail
flag

You must LOGIN to add comments