Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications

> ## get-cookie

> 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`.

> ##### See also:

> set-attribute-list

> delete-cookie

> delete-cookie

> get-field

> get-cgi

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095