Query String Paramaters
Brian Donahue
Posts: 6,590 Bronze 1
Hi Coby,
You can do this by getting the URL from the HttpResponse after the aspx
has redirected you. The URL is stored in a header called 'Location'. Once
you get the URL, you can parse the sessionid from the URL string. See the
attachment for an example!
Regards,
Brian Donahue
Red Gate Technical Support
"Coby Roberts" <cdroberts@firstam.com> wrote in message
news:4v%23GyS3bEHA.1512@server53...
> Hi,
>
> I have a site that has a login page, on processing aspx, an id is added as
a
> query string.
>
> www.site.com/default.aspx?id=1234567890
>
> I need to pass that value in to subsiquent gets and posts, how can i
obtain
> the value from the query string?
>
>
You can do this by getting the URL from the HttpResponse after the aspx
has redirected you. The URL is stored in a header called 'Location'. Once
you get the URL, you can parse the sessionid from the URL string. See the
attachment for an example!
Regards,
Brian Donahue
Red Gate Technical Support
"Coby Roberts" <cdroberts@firstam.com> wrote in message
news:4v%23GyS3bEHA.1512@server53...
> Hi,
>
> I have a site that has a login page, on processing aspx, an id is added as
a
> query string.
>
> www.site.com/default.aspx?id=1234567890
>
> I need to pass that value in to subsiquent gets and posts, how can i
obtain
> the value from the query string?
>
>
This discussion has been closed.