RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractWebContext.RequestedPageName Property

Indicates the name of the Web page module to which the current request is addressed.

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

When the page dispatcher receives an HTTP request message, it sets RequestedPageName to the name of the target Web page module. This is taken from the pathinfo portion of the request message's target URL.

Note: There is no guarantee that RequestedPageName refers to a registered Web page module, because this property is set before the dispatcher verifies that the requested page exists.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!