|
|||||
|
||||||
Related Topics | Other Library Functions |
function |
HttpRequestGetSearchItems |
Library: HTTP support (OMHTTP)
Include: omhttp.xin |
define function HttpRequestGetSearchItems read-only stream Request into modifiable stream SearchItems
Argument definitions
Use HttpRequestGetSearchItems to get the names and values of all search items defined for an HTTP request object as keyed items in a stream shelf.
You must include the following line at the beginning of your OmniMark program:
include "omhttp.xin"
Each search item in the SearchItems shelf contains the name of the search item as the key and the value of the search item as the value.
This function is usually used on the server side, to analyze the search items coming in from a request and to customize response information according to the search items specified in the request.
; HttpRequestGetSearchItems include "omhttp.xin" process local HttpRequest my-Request local stream all-Search variable HttpRequestGetSearchItems my-Request into all-Search output "No User!%n" when all-Search hasnt key "username"
Copyright © Stilo International plc, 1988-2010.