webserver.util.parseCookies

Syntax webserver.util.parseCookies (adrParamTable)

Params adrParamTable is the address of a table containing information about the request.

Action Looks for a Cookie header and parses it into a table of name-value pairs.

Returns True if a Cookie header was found, false otherwise.

Notes The Cookie header is expected to be located at adrParamTable^.requestHeaders.Cookie. The resulting table is built at adrParamTable^.requestHeaders.Cookies.

This verb is used internally by the webserver framework. It's called from webserver.server.

See Also webserver.server

Discuss