This function returns the value of the specified cookie. If no cookie is found, the function returns a blank value. The return values are returned as a delimited string. The delimiter is the value of SelDelim in web\method\cgidefs.i, by default, a comma.
Location
web\method\cookies.i
Parameters
INPUT p_name AS CHARACTER
The cookie name. If the Unknown value (?) is specified, the function returns a list of all cookie names.
Returns
CHARACTER
Notes
Requires a browser supporting persistent state cookies. The browser must also have cookies enabled or they will not be sent.
Before using cookies, you should read the standards published for the various Web servers.
Examples
See the init-request procedure in web\objects\stateaware.p.