RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomPageDispatcher.PageNameOfRequest Method

Returns the name of the Web page to which an HTTP request is addressed.

Pascal
function PageNameOfRequest(Request: TWebRequest): string;
C++
__fastcall AnsiString PageNameOfRequest(TWebRequest Request);

Call PageNameOfRequest to obtain the name of the Web page that a request message is trying to fetch. 

ARequest is the request object that describes the HTTP request message. 

PageNameOfRequest returns the last string in the path info portion of the request message's target URL. 

 

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