|
|||||
function | HttpObjectGetCookieValues |
Other Library Functions |
Library: HTTP
Include: omtcp.xin, omhttp.xin |
define function HttpObjectGetCookieValues read-only stream HttpObject into modifiable stream CookieValues
This function returns the names and values of all the defined cookies for the HTTP request or response object. The values are returned in the stream argument as keyed items on the shelf. Usually, HttpObjectGetCookieValues
is part of a server program.
Input argument:
Output argument:
Example:
; HttpObjectGetCookieValues local HttpRequest my-Request local HttpResponse my-Response local stream request-Cookies local stream response-Cookies HttpObjectGetCookieValues my-Request into request-Cookies HttpObjectGetCookieValues my-Response into response-Cookies repeat over request-Cookies output "%g(request-Cookies)%n" again repeat over response-Cookies output "%g(response-Cookies)%n" again
---- |