RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebResponse.Realm Property

Specifies the set of protected-access URIs that includes the URL specified by the HTTP request message.

Pascal
property Realm: AnsiString;
C++
__property AnsiString Realm;

Set Realm when the response message returns 401 (Unauthorized) or 402 (Payment required). Realm is the name of a set of URIs that require a password or payment before the web client can access them. All the URIs in the realm, including the URL specified in the request message, are made available as soon as the Web client provides the password or payment for the realm. The server application should keep track, internally, of the passwords or payments the client has provided, using the client information provided by the TWebRequest object. 

 

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