RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebRequest.GetFieldByName Method

Provides the abstract (pure virtual) prototype for a method that returns the value of the HTTP header variable specified by the Name parameter.

Pascal
function GetFieldByName(const Name: string): string; virtual; abstract;
C++
virtual __fastcall AnsiString GetFieldByName(const AnsiString Name) = 0;

Descendants of TWebRequest implement GetFieldByName to provide access to arbitrary header fields in the HTTP request message. Use GetFieldByName to read the value of an HTTP header variable that is not surfaced as one of the properties of TWebRequest. For information on possible HTTP request header variables, see the current Internet standards documents. 

 

GetStringVariable 

Properties That Contain Request Header Information

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