cgiGetCookies - Returns a list of cookies
Contents
Description
This routine returns a NULL terminated array of names of cookies that were transmitted by the client. To
get the value of a cookie you'll have to use cgiGetCookie(3). To free the memory allocated for the
array, use cgiFreeList(3).
Name
cgiGetCookies - Returns a list of cookies
Return Value
On success a NULL terminated array of strings is returned. The last element is set to NULL. If an error
occurred or if no cookies were available NULL is returned.
See Also
cgiGetValue(3), cgiGetVariables(3), cgiGetCookie(3), cgiFreeList(3), cgiDebug(3), cgiHeader(3), cgiInit(3). CGI Library 6 April 2008 cgiGetCookies(3)
Synopsys
#include<cgi.h>char**cgiGetCookies(s_cgi*parms);
