![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||||
|
|
|||||
| function | HttpObjectSetCookieValue | ||||
| Related Syntax | Other Library Functions |
|
Library: HTTP
Include: omtcp.xin, omhttp.xin |
define function HttpObjectSetCookieValue
modifiable stream HttpObject
for value stream CookieName
to value stream CookieValue
This function sets a named cookie value in an HTTP request or response object. Usually, HttpObjectSetCookieValue is called in a server program.
Input arguments:
Example:
; HttpObjectSetCookieValue local HttpRequest my-Request local HttpResponse my-Response HttpObjectSetCookieValue my-Request for "DocUserID" to "123abc456" HttpObjectSetCookieValue my-Response for "DocUserID" to "123abc456"
| ---- |