RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebRequest.Query Property

Indicates the value of the query information (if any) of the URL specified in the HTTP request message.

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

Read Query to determine the details of a query specified in the URL of the Web client request. For example, given this URL:

http://www.TSite.com/art/gallery.cgi/mammals?animal=dog&color=black

the Query portion is

animal=dog&color=black

Query is the unparsed query portion of the URL. The query may include multiple fields separated by ampersands. Use the QueryFields property to work with the query on a field-by-field basis. 

 

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