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
RequestObject.CurrentExecutionFilePath
To retrieve the entire URL with query string variables, use
RequestObject.RawURL
There are other important bits that we can use too.
Tuesday, July 20, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment