Tuesday, July 20, 2010

dotNet URL

Using the HTTP Request object from the current HTTP context, can return a few different URL path.

To retrieve just the URL without the query string variables, use

To retrieve the entire URL with query string variables, use

There are other important bits that we can use too.

No comments:

Post a Comment