RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebRequest.PathInfo Property

Reports the value of the path information (if any) of the URL specified in the HTTP request message.

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

Read PathInfo to determine the path on the server machine where the target of the request is found. For example, given this URL:

http://www.TSite.com/art/gallery.cgi/mammals?animal=dog&color=black

the PathInfo portion is

/mammals

The TWebDispatcher object uses the PathInfo to identify the appropriate TWebActionItem for servicing the request message. 

 

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