Get paremeters in a URL

Well, sometimes we asked how can we passed request parameters in our web application?

So if we have http://cliper.boholcentral.com/?request_id=test we need to get "test"

In our classic ASP web application, we do like

Request.QueryString("request_id")

probably, ASP.NET still uses this syntax and the most readable syntax could be:

C#
Request["request"];

VB
Request("request_id");

Leave a Reply

Close Menu