This function takes a cookie string (typically from HTTP headers) and parses it into a named list, where each cookie name is a list element and its value is the corresponding value.

parseCookies(cookie_string)

Arguments

A character string containing cookies separated by "; ", e.g. "name1=value1; name2=value2".

Value

A named list of cookies, or NULL if cookie_string is NULL.