[o_O]
12-13-2002, 10:17 PM
If i had a page which is to check for a few variables but these variables could come via Querystring or Form how should the check be done? I would have to put:
If Request.Form("variable1") <> "" Then
..
End If
Request.Querystring("variable1") <> "" Then
..
End if
the variable would be the same and have the same value just passed differently.
Is there a way to combine the two? check for both at once
Someone suggested just using Request("variable") but doesn't this sift through all four Request collections: Request.Form, Request.QueryString, Request.Cookies, Request.ServerVariables and therefore slow performance
:confused:
If Request.Form("variable1") <> "" Then
..
End If
Request.Querystring("variable1") <> "" Then
..
End if
the variable would be the same and have the same value just passed differently.
Is there a way to combine the two? check for both at once
Someone suggested just using Request("variable") but doesn't this sift through all four Request collections: Request.Form, Request.QueryString, Request.Cookies, Request.ServerVariables and therefore slow performance
:confused: