RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebRequest.URL Property

Reports the Uniform Resource Identifier (URI) specified by the HTTP request message to identify the target of the request.

Pascal
property URL: string;
C++
__property AnsiString URL;

Use the URL property to identify the resource the Web client identifies as the target of the request message. URL may be an HTML page to return, a resource to be created or deleted, or an object that provides some other service for the Web client.  

The TWebRequest object parses the URL into its constituent parts, yielding the Host, ScriptName, PathInfo, and Query properties.

Note: Usually the URL property is a Uniform Resource Locator (URL) that can be parsed into host, script, path, and query portions. However, it is possible for HTTP request messages to specify the target in more general terms, as a Uniform Resource Identifier (URI).
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!