Wednesday, March 21, 2012

parameter list on url

How do you get just the parameter list of URL - the part after the ?.
For example, http://domain/default.asp?arg1=valu...alue&arg3=value
I want to get the arg1=value&arg2=value&arg3=value part of the url.
What I am trying to do is take that and append it to a rediret to another
page.
Thanks,
TomRequest.Url.Query
-Brock
DevelopMentor
http://staff.develop.com/ballen

> How do you get just the parameter list of URL - the part after the ?.
> For example,
> http://domain/default.asp?arg1=valu...alue&arg3=value
> I want to get the arg1=value&arg2=value&arg3=value part of the url.
> What I am trying to do is take that and append it to a rediret to
> another page.
> Thanks,
> Tom
>
"Brock Allen" <ballen@.NOSPAMdevelop.com> wrote in message
news:670966632510071003937072@.msnews.microsoft.com...
> Request.Url.Query
That was what I was looking for. I just couldn't remember what it was.
Thanks,
Tom
> -Brock
> DevelopMentor
> http://staff.develop.com/ballen
>
>
>
>
Tom,
Try Request.Url.Query.
"tshad" wrote:

> How do you get just the parameter list of URL - the part after the ?.
> For example, http://domain/default.asp?arg1=valu...alue&arg3=value
> I want to get the arg1=value&arg2=value&arg3=value part of the url.
> What I am trying to do is take that and append it to a rediret to another
> page.
> Thanks,
> Tom
>
>

0 comments:

Post a Comment