The GetCookie procedure retrieves a cookie from the caller's web browser session.
The GetCookie procedure can be used by a CGI program to retrieve a specific cookie from the web browser.
cookie-data GetCookie( szCookieID 256A Const Varying ) |
|
See also: GetEnv |
If the function succeeds, the return value is the value (data) previously assigned to the cookie name identified on the szCookie parameter.
If the function fails, nothing is returned.
This procedure can only be called from a CGI program. When called by a non-CGI program, it will return invalid data.