By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,037 Members | 2,065 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,037 IT Pros & Developers. It's quick & easy.

Parsing URI

P: n/a
Using VB.NET. Trying to parse the incoming URI for an HTTP request. Appears that supposed to use "GetQueryString", "GetRawUrl", etc. However, can find no examples of how this is to work. Can anyone provide a code fragment. Or, is this an incorrect approach. Thanks.
Nov 18 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Why not just use the Page.Response.Url property?
"Tom_B" <an*******@discussions.microsoft.com> wrote in message
news:04**********************************@microsof t.com...
Using VB.NET. Trying to parse the incoming URI for an HTTP request.

Appears that supposed to use "GetQueryString", "GetRawUrl", etc. However,
can find no examples of how this is to work. Can anyone provide a code
fragment. Or, is this an incorrect approach. Thanks.
Nov 18 '05 #2

P: n/a
Hi Tom

Can you be more specific as to what you are trying to do

Also may be a code snippet will work better for us to understand the problem

? ? ?

Kashyp
Aztec Software and Technology Services Ltd
Bangalore
Nov 18 '05 #3

P: n/a
Need to respond to the incoming HTTP request based on the "Query" part of the URL. Cannot find how to access the incoming URL.
Nov 18 '05 #4

P: n/a
WJ
Asp.Net does not do this if I understand you correctly. The form your client
sends already hosts server components such as Text Boxes and your code
behind will be able to access these objects directly on the asp.aspx forms.
What you are referring to is "CGI/ISAPI" scripts that captures the payload
sent by the clients via GET/POST commands.

John

"Tom_B" <an*******@discussions.microsoft.com> wrote in message
news:5F**********************************@microsof t.com...
Need to respond to the incoming HTTP request based on the "Query" part of

the URL. Cannot find how to access the incoming URL.
Nov 18 '05 #5

P: n/a
Tom_B wrote:
Need to respond to the incoming HTTP request based on the "Query"
part of the URL. Cannot find how to access the incoming URL.


You can obtain the query string through HttpRequest.QueryString.

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Nov 18 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.