RAD Studio VCL Reference
TCGIRequest.GetFieldByName Method

Provides a method that returns the value of the HTTP header variable specified by the Name parameter.

function GetFieldByName(const Name: AnsiString): AnsiString; override;
virtual __fastcall AnsiString GetFieldByName(const AnsiString Name);

Use GetFieldByName to read the value of an HTTP header variable that is not surfaced as one of the properties of TCGIRequest. For information on possible HTTP request header variables, see the current Internet standards documents. 


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