A URL Querystring gets a value used to display information on a page.
An example would be. Main.asp?Type=One
We examine the Query of Type above to retrieve its Value. Once we get its value, we can determine what to do with it. Example.
[If Statement]
<%if request.querystring("Type") = "One" then%>
You are on page one
<%end if%>
Now, if you have a lot of Queries in your code, you can create a Variable that will allow for more effortless coding.
[Query Variable]
<%
getType = request.querystring("Type")
%>
The [getType] variable can be used in place of the request.querystring("Type").
Example from the above.
[If Statement using Variable]
<%if getType = "One" then%>
You are on page one
<%end if%>